-
Notifications
You must be signed in to change notification settings - Fork 368
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
[question]: I am not able to ask for notification permission on app start #2159
Comments
@Kalo2412 to avoid the Note that |
I have now moved the logic in the MyApplication **
} I still get this error: FATAL EXCEPTION: DefaultDispatcher-worker-1 Device is on Android 14 |
@jkasten2
Why should some one call initWithContext without to pass the appID if so can we pass the appid later in the application in some service class Furthermore I do not find any docs page for the android sdk for the link provided in the README I receive page not found https://documentation.onesignal.com/docs/android-native-sdk |
Any progress here? |
How can we help?
Description:
I have an Android Jetpack Compose App with indeed has a login page -> because of that I need to wait for a user to login and than retrieve the credentials together with the appID
Therefore here is my code
The problem is that as soon as I start the app I get in the logcat those errors
Furthermore, when a user is logged in - in another class I do this
In the other class I never get the popup dialog for accepting the permissions for push notifications.
Version: 5.1.18
Question: What is wrong how can I proceed?
Code of Conduct
The text was updated successfully, but these errors were encountered: