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

[question]: Adding OneSignal dependency causing Activity Reload on Android 13 #1703

Closed
1 task done
themeink opened this issue Dec 14, 2022 · 1 comment
Closed
1 task done

Comments

@themeink
Copy link

themeink commented Dec 14, 2022

How can we help?

I have implemented OneSignal in my app which is causing the Launch Activity to reload on the very first App Launch. I even removed the OneSignal initialization code and found out that just adding the OneSignal dependency in app's build.gradle is causing the issue. The weird thing is that it happens on the very first app launch and not on subsequent launches.

On investigation, I found out that some Configuration change is happening which is causing the activity to reload. By Overriding OnPause method of apps Launch Activity and calling getChangingConfigurations(); I got the int value of the config that has changed to -2147483648 . On further investigation, I found out that the said constant value relates to SIGNAL_STRENGTH_UNSPECIFIED which can be found out HERE . Now I am out of ideas how to fix it. Any help is appreciated. TIA

Here is the complete Log

LOG

Code of Conduct

  • I agree to follow this project's Code of Conduct
@themeink themeink changed the title [question]: Adding OneSignal dependency causing Activity Reload [question]: Adding OneSignal dependency causing Activity Reload on Android 13 Dec 15, 2022
@jennantilla
Copy link
Contributor

Hello @themeink apologies that this issue was missed. Since it has been quite some time since you reported this, I will be closing this ticket. Please @ mention me if you still have questions or concerns.

Also noting that we have an updated major release available for our Android SDK with many improvements and enhancements! Please refer to the migration guide for more information on upgrading.

Thanks!

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

No branches or pull requests

2 participants