Comments (2)
I'm also getting many ANRs while setting up Onesignal.
SDK Version
5.1.2
In Application File
OneSignal.initWithContext(this, "ONESIGNAL_APP_ID")
ANR Triggered
main (runnable):tid=1 systid=28755 #00 pc 0x4bf790 libart.so (art::DumpNativeStack + 108) (BuildId: 02bec5940be704b863f6514fc7d81c41) #01 pc 0x4b2940 libart.so (art::Thread::DumpStack const + 388) (BuildId: 02bec5940be704b863f6514fc7d81c41) #02 pc 0x4b2280 libart.so (art::DumpCheckpoint::Run + 164) (BuildId: 02bec5940be704b863f6514fc7d81c41) #03 pc 0x3c8c9c libart.so (art::Thread::RunCheckpointFunction + 148) (BuildId: 02bec5940be704b863f6514fc7d81c41) #04 pc 0x5afae0 libart.so (artTestSuspendFromCode + 232) (BuildId: 02bec5940be704b863f6514fc7d81c41) #05 pc 0x35501c libart.so (art_quick_test_suspend + 156) (BuildId: 02bec5940be704b863f6514fc7d81c41) at java.lang.reflect.Executable.getMethodNameInternal(Native method) at java.lang.reflect.Method.getName(Method.java:115) at java.lang.reflect.Method$1.compare(Method.java:72) at java.lang.reflect.Method$1.compare(Method.java:67) at libcore.util.CollectionUtils.removeDuplicates(CollectionUtils.java:89) at java.lang.Class.getMethods(Class.java:2226) at com.onesignal.common.modeling.Model.initializeFromJson(Model.kt:98) at com.onesignal.core.internal.operations.impl.OperationModelStore.create(OperationModelStore.kt:68) at com.onesignal.core.internal.operations.impl.OperationModelStore.create(OperationModelStore.kt:30) at com.onesignal.common.modeling.ModelStore.load(ModelStore.kt:162) at com.onesignal.core.internal.operations.impl.OperationModelStore.<init>(OperationModelStore.kt:32) at java.lang.reflect.Constructor.newInstance0(Native method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:89) at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79) at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67) at com.onesignal.common.services.ServiceRegistrationReflection.resolve(ServiceRegistration.kt:82) at com.onesignal.common.services.ServiceProvider.getServiceOrNull(ServiceProvider.kt:79) at com.onesignal.common.services.ServiceProvider.getService(ServiceProvider.kt:67) at com.onesignal.internal.OneSignalImp.initWithContext(OneSignalImp.kt:523) at com.onesignal.OneSignal.initWithContext(OneSignal.kt:135) at com.xxx.yyy.android.MyApplication.onCreate(MyApplication.kt:37) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1335) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7570) at android.app.ActivityThread.-$$Nest$mhandleBindApplication(unavailable) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2416) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:257) at android.os.Looper.loop(Looper.java:368) at android.app.ActivityThread.main(ActivityThread.java:8815) at java.lang.reflect.Method.invoke(Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
Devices effecting
Realme GT 2 Pro
Oppo A78 5G
Oppo Realme 10 Pro+ 5G
OnePlus Nord CE 2 Lite 5G
Xiaomi Poco C55
OnePlus 11R 5G
Android Versions
13,14
from onesignal-android-sdk.
Related Issues (20)
- [Bug]: SDK Crashes on release/app bundle build when not all onesignal modules are included: Service interface i6.a could not be instantiated HOT 1
- Callback for methods login and logout HOT 1
- Is it okay to initialize OneSignal only before login or when user is already logged in? HOT 1
- How to keep Dashboard clean? HOT 1
- [Bug]: Old Notification Displayed When Starting App HOT 1
- Sessions not incrementing in OneSignal Dashboard HOT 2
- Why is that OneSignalId is empty sometimes? HOT 4
- [Bug]: FIREBASE_FCM_INIT_ERROR for Android API < 33 HOT 2
- [Bug]: OneSignal 5.1.2 NullPointerException on OneSignal initialization HOT 4
- [Bug]: 5.1.4 - NullPointerException: null cannot be cast to non-null type kotlin.String crashes on Startup HOT 6
- [Bug]: ANR because of initializeFromJson HOT 1
- [Bug]: ANR com.onesignal.common.services.ServiceRegistrationReflection.resolve HOT 2
- [Bug]: com.onesignal.notifications.internal.generation.impl.NotificationGenerationWorkManager.beginEnqueueingWork ANR triggered by slow operations in main thread HOT 1
- [question]: 'onNotificationReceived' callback not triggered when application is in background mode HOT 1
- [Bug]: Operation is not permitted due to user having the maximum number of subscriptions assigned HOT 1
- [Bug]: EventProducer.fire (1) - Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 HOT 5
- [Bug]: EventProducer.fire (2) - Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 HOT 1
- [Bug]: Android app crashes on click of notification with error: "No Activity found to handle Intent" HOT 2
- [Bug]: android.view.WindowManager$BadTokenException - Unable to add window HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onesignal-android-sdk.