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

[Bug]: com.onesignal.OSUtils.getManifestMetaBundle #622

Open
1 task done
shefich opened this issue Jul 6, 2023 · 2 comments
Open
1 task done

[Bug]: com.onesignal.OSUtils.getManifestMetaBundle #622

shefich opened this issue Jul 6, 2023 · 2 comments

Comments

@shefich
Copy link

shefich commented Jul 6, 2023

What happened?

Samsung Galaxy J1, Android 5.1.1.

Steps to reproduce?

1. Don't know how to reproduce

What did you expect to happen?

I expected no to see these crashes

Unity version

2021.2.12 (latest)

OneSignal Unity SDK version

3.0.10

Platform

Android

Relevant log output

Fatal Exception: java.lang.RuntimeException: Package manager has died
       at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:334)
       at com.onesignal.OSUtils.getManifestMetaBundle(OSUtils.java:412)
       at com.onesignal.OSUtils.getManifestMeta(OSUtils.java:431)
       at com.onesignal.OSNotificationController.setupNotificationServiceExtension(OSNotificationController.java:179)
       at com.onesignal.OneSignal.init(OneSignal.java:819)
       at com.onesignal.OneSignal.setAppId(OneSignal.java:737)
       at com.onesignal.OneSignal.reassignDelayedInitParams(OneSignal.java:1181)
       at com.onesignal.OneSignal.onRemoteParamSet(OneSignal.java:889)
       at com.onesignal.OneSignal$7.complete(OneSignal.java:1122)
       at com.onesignal.OneSignalRemoteParams.processJson(OneSignalRemoteParams.java:211)
       at com.onesignal.OneSignalRemoteParams.access$100(OneSignalRemoteParams.java:12)
       at com.onesignal.OneSignalRemoteParams$1.onSuccess(OneSignalRemoteParams.java:156)
       at com.onesignal.OneSignalRestClient$5.run(OneSignalRestClient.java:279)
       at java.lang.Thread.run(Thread.java:818)


Caused by android.os.TransactionTooLargeException:
       at android.os.BinderProxy.transactNative(Binder.java)
       at android.os.BinderProxy.transact(Binder.java:496)
       at android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java:2542)
       at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:325)
       at com.onesignal.OSUtils.getManifestMetaBundle(OSUtils.java:412)
       at com.onesignal.OSUtils.getManifestMeta(OSUtils.java:431)
       at com.onesignal.OSNotificationController.setupNotificationServiceExtension(OSNotificationController.java:179)
       at com.onesignal.OneSignal.init(OneSignal.java:819)
       at com.onesignal.OneSignal.setAppId(OneSignal.java:737)
       at com.onesignal.OneSignal.reassignDelayedInitParams(OneSignal.java:1181)
       at com.onesignal.OneSignal.onRemoteParamSet(OneSignal.java:889)
       at com.onesignal.OneSignal$7.complete(OneSignal.java:1122)
       at com.onesignal.OneSignalRemoteParams.processJson(OneSignalRemoteParams.java:211)
       at com.onesignal.OneSignalRemoteParams.access$100(OneSignalRemoteParams.java:12)
       at com.onesignal.OneSignalRemoteParams$1.onSuccess(OneSignalRemoteParams.java:156)
       at com.onesignal.OneSignalRestClient$5.run(OneSignalRestClient.java:279)
       at java.lang.Thread.run(Thread.java:818)

Code of Conduct

  • I agree to follow this project's Code of Conduct
@emawby
Copy link
Contributor

emawby commented Jul 10, 2023

@shefich Thank you for reporting have you only seen this on issue the Samsung J1? Based on the stack trace it could be an issue with memory on that particular phone

@shefich
Copy link
Author

shefich commented Jul 10, 2023

@emawby
Samsungs Galaxy Tab4 10.0,
Galaxy J7(2016),
Galaxy J3 Pro,
Galaxy J7,
Galaxy J3(2016),
Galaxy J1 (2016),
Galaxy J1 Ace,
Galaxy E5.

Also Sunvov - WindRiver A455.

OS Android 5.1.1, 5.0.2, 6.0.1, 11.

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