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]: random crashes on Amazon device #471

Closed
1 task done
joaquingrech opened this issue Apr 6, 2022 · 1 comment
Closed
1 task done

[Bug]: random crashes on Amazon device #471

joaquingrech opened this issue Apr 6, 2022 · 1 comment

Comments

@joaquingrech
Copy link

joaquingrech commented Apr 6, 2022

What happened?

Another one for the books. The amazon device was getting random crashes when compiled with Unity 2021.2.18 and onesignal 3.0.0

After hours wasted, I realize that

<service android:name="com.onesignal.ADMMessageHandlerJob"
           android:permission="android.permission.BIND_JOB_SERVICE"
           android:exported="false" />

seems to be required in the manifest file and in the whole unity sdk amazon section is nowhere to be found.

Steps to reproduce?

launch in amazon device with the example manifest you have on your website

What did you expect to happen?

it should work, but nope, first it will crash because the api_key.txt file is in the wrong location and second because this line is missing from the example manifest

Unity version

2021.2.18

OneSignal Unity SDK version

3.0.0

Platform

Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jkasten2
Copy link
Member

jkasten2 commented May 9, 2024

@joaquingrech I believe all this is fixed in the 5.x.x release. Please give it a try, if you continue seeing an issue please open a new issue for 5.x.x.

@jkasten2 jkasten2 closed this as completed May 9, 2024
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