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

Problem in release Android #23

Open
urielvexi opened this issue Jun 1, 2023 · 7 comments
Open

Problem in release Android #23

urielvexi opened this issue Jun 1, 2023 · 7 comments

Comments

@urielvexi
Copy link

this package used to work form me, since I updated to zendesk_messaging: ^2.7.5 now I get the next error in release:
[ZendeskMessaging] - initialize failure - java.lang.AssertionError: Missing field in a9.b [ZendeskMessagingPlugin] - Messaging needs to be initialized first

it still works in debug, any idea how could I fix it?

@urielvexi
Copy link
Author

Last version than did work for me was 2.7.4,
a9.b means zendesk.android.internal.proactivemessaging.model.ConditionType

@Pride049
Copy link

@urielvexi The same issue, release apk cannot do anything and without any log output. Did you have any workaround for this? Thanks!

@urielvexi
Copy link
Author

@Pride049 I did a downgrade to 2.7.4, I didn't find a workaround for 2.7.5

@Pride049
Copy link

Thanks, it looks good on 2.7.4.

@xang555
Copy link

xang555 commented Jun 22, 2023

if you using proguard add this line

# Zendesk
-keepnames class zendesk.** { *; }

@manalisangani18
Copy link

Add these code in project level build.gradle

repositories {
    ...
    maven {
        url "https://zendesk.jfrog.io/artifactory/repo"
    }
}

Add dependency in app level build.gradle

dependencies {
    .....
    //zendesk
    implementation "zendesk.messaging:messaging-android:2.13.0"
}

@chyiiiiiiiiiiii
Copy link
Owner

Please try new version.

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

5 participants