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

Google play services library error #401

Closed
ausatovappcraft opened this issue Nov 2, 2021 · 3 comments
Closed

Google play services library error #401

ausatovappcraft opened this issue Nov 2, 2021 · 3 comments

Comments

@ausatovappcraft
Copy link

ausatovappcraft commented Nov 2, 2021

Hi guys
We need some help with "Google play services library error"
This error appears on the test users dashboard after we are successfully launching the app on android
image

2.14.5 sdk was installed via Unity package manager successfully
image
all gradle dependencies are resolved
all steps from window - one signal done
image

plugin manifest `

<permission android:name="com.liftapp.fold.paper.game.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.liftapp.fold.paper.game.permission.C2D_MESSAGE" />
<application>
  <receiver
        android:name="com.onesignal.GcmBroadcastReceiver"
        android:permission="com.google.android.c2dm.permission.SEND" >
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
            <category android:name="com.liftapp.fold.paper.game" />
        </intent-filter>
    </receiver>
</application>

`

the lines added in custom gradle template after plugin installed are here
image

@jkasten2
Copy link
Member

@ausatovappcraft Thanks for reporting, could you provide the following additional details?

  1. Do you see the issue on any other Android devices or emulators? (If it is not an issue on some devices that is helpful too)
    • I see you have tried the Xiaomi Redmi Note 10 (m2103k19g) on Android 11 so far.
  2. Provide the logcat from the device.
    • You can filter down to any OneSignal related messages, it will mostly report the root cause of the error.

@jkasten2
Copy link
Member

jkasten2 commented Dec 4, 2021

@ausatovappcraft I also recommend trying out 3.0.0 beta as these dependencies have been upgraded. See OneSignal Unity SDK Version 3 - Beta now available!#415 topic for more details.

@jkasten2
Copy link
Member

The 3.0.0 is now released. We have made a number of upgrades around this so this is most likely no longer an issue.

If you continue to see this issue after upgrading to 3.0.1 however please open a new issue and provide the details I requested above #401 (comment). Also please link to this issue for background context.

See our Step-by-Step Unity 2.x to 3.0.0 Upgrade Guide to get started!

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