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
Android 8 crash with IllegalArgumentException in NotificationRestorer.startDelayedRestoreTaskFromReceiver #426
Comments
Before 3.7.1 update, (that was 3.5.1) there was different exception on Sony Xperia XZ1:
|
@Talkless Thanks for the crash reports. Can you confirm that this crash is from the OneSignal 3.7.1 SDK and is from an Oreo device? Caused by: java.lang.IllegalArgumentException:
at android.os.Parcel.readException (Parcel.java:1965)
at android.os.Parcel.readException (Parcel.java:1898)
at android.app.job.IJobScheduler$Stub$Proxy.schedule (IJobScheduler.java:180)
at android.app.JobSchedulerImpl.schedule (JobSchedulerImpl.java:44)
at com.onesignal.NotificationRestorer.startDelayedRestoreTaskFromReceiver (NotificationRestorer.java:240)
at com.onesignal.UpgradeReceiver.onReceive (UpgradeReceiver.java:39)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3257) SDK 3.7.1 NotificationRestorer.java:240 points to creating a pendingIntent which doesn't match up. The |
Ugh, somehow I've managed to package 3.6.4 jar as if it was 3.7.1. Probably accidentally exacted older release download... Sorry for the noise. |
@jkasten2 I believe your 3.7.1 .zip archive has OneSignalSDK.jar v3.6.4 jar inside. I can extract it and find "030604" string inside some .class file (using |
…regarding this issue
Hi,
Google Play Consle shows crashes on (currently all, there are few of them) Android 8 devices, such as
Sony Xperia XZs (G8231)
andSony Xperia XZ1 (G8341)
:OneSignal 3.7.1
android:minSdkVersion="19" android:targetSdkVersion="27" android:maxSdkVersion="27"
This is Qt application with a workaround for #102
<service android:name="com.onesignal.SyncService" android:stopWithTask="true" />
(true), if that might be relevant.The text was updated successfully, but these errors were encountered: