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

Onesignal build not installing in Android 12 (API 31), missing required android:export in AndroidManifest.xml #431

Closed
RafaelCarpetres opened this issue Jan 12, 2022 · 4 comments

Comments

@RafaelCarpetres
Copy link

RafaelCarpetres commented Jan 12, 2022

I'm having big trouble with Onesignal 2.13.6 Apk's in Android 12.
image

We are getting this issue when try to install our Apk to any Android 12 device (tried with Samsung S21 pro and Android Emulator API 31), this installation is working fine on any other device (iOS, Android 11 and older)

I updated the OneSignal to the AssetStore version but the issue is still happening

@RafaelCarpetres RafaelCarpetres changed the title Onesignal plugin not installing in Android 12 Onesignal build not installing in Android 12 Jan 12, 2022
@frostweep
Copy link

Hello,

We facing the same issue and also didnt found a solution yet since the problem is in the compiled library.

I also know that Unity team did changes in latest Unity version that adds endroid:exported=true during build but I dont think that it will also modify compiled library.

Currently we are looking on using of latest beta version of SDK which should include fix already.

@jQuera
Copy link

jQuera commented Jan 13, 2022

Yeah, the screenshot build is in Unity 2020.3.25 LTS with the android:exported fixed, so the problem is OneSignal

@jQuera
Copy link

jQuera commented Jan 13, 2022

I'm trying to update to OneSignal 3.0.0 - beta.3 but I'm getting a lot of issues related to the new iOS package

imagen

@jkasten2 jkasten2 changed the title Onesignal build not installing in Android 12 Onesignal build not installing in Android 12 (API 31), missing required android:export in AndroidManifest.xml Apr 23, 2022
@jkasten2
Copy link
Member

@RafaelCarpetres This compatibility is addressed in the OneSignal-Unity-SDK 3.0.0, see details in #415 on the steps to migrate to the major version.

@RSJcl Some of the errors, the ones with PBXProjectExtension.cs are fixed in the released 3.0.0 version. The others require you to follow the migration instructions. Please open a new issue if you continue to see these compile errors after double checking the guide.

Since this issue topic is on a specific Android 12 issue and it is now resolved in a release version closing this issue.

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

4 participants