-
Notifications
You must be signed in to change notification settings - Fork 229
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
promptUserForPushNotificationPermission
Future never completes
#62
Comments
promptUserForPushNotificationPermission
hangspromptUserForPushNotificationPermission
Future never completes
Now seeing similar behaviour with |
Hello, |
as @rgomezp said the problem might be with several methods. Another one is
it got OneSignal working but it requires a bit more code to handle the whole logic @rgomezp could you provide any updates when we may expect a new release? for those who want to await for broken methods you can try that, I am not sure if this is the best way but it works
|
@rgomezp do you know when we may expect any changes related to the above bugs? is it within a week, a month or more? |
@mikechoch , |
@rgomezp any update? |
Howdy, https://documentation.onesignal.com/docs/flutter-sdk#section--setrequiresuserprivacyconsent- |
I am noticing this issue as well. No, I do not call |
I should clarify, this was fixed on the Android side but not iOS. Thanks for your patience while we work to resolve |
I can fix this issue this weekend if no one gets to it before me :) |
@Nightsd01 thanks Brad! |
We're also facing this issue, hopefully the solution will be out soon! |
Expect a release (most likely Currently I see several methods (on iOS bridge) that will have hanging awaits, I will list them here as I fix them: Also finding a few methods on Android with some hanging awaits: |
@mikechoch please read my comment above about "setSubscription" |
Description:
Calling promptUserForPushNotificationPermission on iOS displays a dialog if necessary but doesn't return a value afterwards on both the emulator and iPhone 6+, inference being that the Future never completes
Environment
Onesignal v1.05, installed via packages get and pubspec.yaml
Steps to Reproduce Issue:
packages get
main.dart
code with the code belowNew code
The text was updated successfully, but these errors were encountered: