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

io.getstream.android.push.permissions.PushPermissionsInitializer obfuscated #16

Open
turik2304 opened this issue Jul 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@turik2304
Copy link

Describe the bug
Hello,

We are facing an issue with a class that is removed when we obfuscate the app.

Caused by androidx.startup.StartupException: java.lang.ClassNotFoundException: io.getstream.android.push.permissions.PushPermissionsInitializer
       at androidx.startup.StartupException.<init>(StartupException.java:35)
       at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:242)
       at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:206)
       at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:45)
       at android.content.ContentProvider.attachInfo(ContentProvider.java:2097)
       at android.content.ContentProvider.attachInfo(ContentProvider.java:2070)
       at android.app.ActivityThread.installProvider(ActivityThread.java:8168)
       at android.app.ActivityThread.installContentProviders(ActivityThread.java:7709)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7573)
       at android.app.ActivityThread.access$2600(ActivityThread.java:260)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
       at android.os.Handler.dispatchMessage(Handler.java:110)
       at android.os.Looper.loop(Looper.java:219)
       at android.app.ActivityThread.main(ActivityThread.java:8668)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

Very similar to this issue - #14

SDK version

  • 6.3.2

To Reproduce
We couldn't reproduce it, but it's happening when the user opens the app.

Expected behavior
No crashes.

Device:

  • Vendor and model:
    • Samsung (A71, Note20, Note 9),
    • Huawei (Mate 20x, Mate 20 Pro, Y9 Prime 2019),
    • Xiaomi (Redmi Note 7 Pro, Redmi Note 9, M2006C3LII)
  • Android version: 10 only
@turik2304 turik2304 added the bug Something isn't working label Jul 29, 2024
@turik2304
Copy link
Author

@JcMinarro Hi! fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant