Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements discussion #1

Open
khmyznikov opened this issue Mar 26, 2021 · 20 comments
Open

Improvements discussion #1

khmyznikov opened this issue Mar 26, 2021 · 20 comments

Comments

@khmyznikov
Copy link
Owner

Feel free to suggest and discuss

@khmyznikov
Copy link
Owner Author

For now notification permission request shows up immediately after app starts. This needs to be changed for ability to call from JS code.

@khmyznikov
Copy link
Owner Author

I have made a push permission request from JS code.

@khmyznikov
Copy link
Owner Author

Fixed errors in requesting Location or Media APIs.

@dmytro-podolianskyi-ew
Copy link

Could you tell please, what about apple social login? I get an error [core] No URL for Apple ID Authorization
Maybe do I need to add some configs or smth like that?

@khmyznikov
Copy link
Owner Author

Could you tell please, what about apple social login? I get an error [core] No URL for Apple ID Authorization
Maybe do I need to add some configs or smth like that?

Do you use this library? I don't try it actually, not sure I can help.

@aidar87
Copy link

aidar87 commented Mar 14, 2022

Could you tell please, what about apple social login? I get an error [core] No URL for Apple ID Authorization
Maybe do I need to add some configs or smth like that?

I added Appleid domain to WKAppBoundDomains in Info file and using this guide https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/configuring_your_webpage_for_sign_in_with_apple

@dmytro-podolianskyi-ew
Copy link

Thanks, it's working!

@dmytro-podolianskyi-ew
Copy link

Guys, maybe you help me again) What about google social login? When I try to login via google I stuck on the screen with loader and text "One moment please". I've added accounts.google.com to WKAppBoundDomains as the same as apple, but it's not working. Could you help please?

@khmyznikov
Copy link
Owner Author

Guys, maybe you help me again) What about google social login? When I try to login via google I stuck on the screen with loader and text "One moment please". I've added accounts.google.com to WKAppBoundDomains as the same as apple, but it's not working. Could you help please?

Try to debug via XCode and Safari dev tools. Maybe there are more domains than just accounts.google.

@aidar87
Copy link

aidar87 commented Feb 24, 2023

@khmyznikov maybe it is time to add corrections to the readme for iOS 16.4 to prevent double Push from Web Push API and native Push API (for iOS devices < 16.4)

@khmyznikov
Copy link
Owner Author

@khmyznikov maybe it is time to add corrections to the readme for iOS 16.4 to prevent double Push from Web Push API and native Push API (for iOS devices < 16.4)

You have Web Push in this wrapper?

@aidar87
Copy link

aidar87 commented Feb 24, 2023

You have Web Push in this wrapper?

Yes. But currently cannot test it on iOS 16.4 beta. Seems, there will no double Push in native wrapper, web push works only if PWA added home screen

@StillOnMyWay
Copy link

You have Web Push in this wrapper?

Yes. But currently cannot test it on iOS 16.4 beta. Seems, there will no double Push in native wrapper, web push works only if PWA added home screen

So to be clear, the Web Push doesn't interfere with the native push implementation in this wrapper?

@khmyznikov
Copy link
Owner Author

So to be clear, the Web Push doesn't interfere with the native push implementation in this wrapper?
Yes, doesn't. Web Push doesn't work in WKWebView

@fenbru
Copy link

fenbru commented Sep 3, 2023

Hi @khmyznikov, do you have any demo repo where all functionalities are used?

Thx in advance.

@khmyznikov
Copy link
Owner Author

@fenbru what exactly functions? For Push there is code examples in Readme

@fenbru
Copy link

fenbru commented Sep 3, 2023

Sorry, my question wasn't specific.

Can you list all the places inside the project we should change for our website, not yours? @khmyznikov

@khmyznikov
Copy link
Owner Author

@fenbru Settings.swift, Info.plist. Change the urls/domains

@jcmaciel
Copy link

Hey guys, thanks for this repo, it's very useful.
Let me know if I can help you ;)

@khmyznikov
Copy link
Owner Author

Hey guys, thanks for this repo, it's very useful. Let me know if I can help you ;)

Any experience in Swift? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants