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

consumer-proguard-rules.pro - Unresolved class name #1535

Closed
michael-winkler opened this issue Feb 18, 2022 · 0 comments
Closed

consumer-proguard-rules.pro - Unresolved class name #1535

michael-winkler opened this issue Feb 18, 2022 · 0 comments

Comments

@michael-winkler
Copy link

michael-winkler commented Feb 18, 2022

Description:

Hello guys, i just want to let you know that there is a little bug inside the proguard rules file.

On following line is a warning for "Unresolved class name"
https://github.com/OneSignal/OneSignal-Android-SDK/blob/main/OneSignalSDK/onesignal/consumer-proguard-rules.pro#L4

-keep class com.google.android.gms.common.api.GoogleApiClient { void connect(); void disconnect(); }

It looks like the path is changed there https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi.html

from:
com.google.android.gms.common.api.GoogleApiClient

to:
com.google.android.gms.common.api.GoogleApi

But when I use these new lines I got the same warning.
Can we just remove it from proguard or is there anything else we need to do?

Environment
compileSdkVersion 31
buildToolsVersion = '30.0.3'
com.onesignal:OneSignal:4.6.7

Steps to Reproduce Issue:

  1. Just open the proguard file and the line is marked red

Anything else:

(crash stacktraces, as well as any other information here)

  • There is no crash or else
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

1 participant