Recent searches


No recent searches

App Crashes



Posted Jul 24, 2023

Hi,

I am trying to use ZenDesk SDK in my Flutter App with Native Code.

I have a native app on iOS and Android with ZenDesk implemented.

But I´m getting this error now when I try to use this method below:
RequestActivity.builder().show(context)


Unable to start activity ComponentInfo{br.com.flowing/zendesk.support.request.RequestActivity}: android.view.InflateException: Binary XML file line #13 in br.com.flowing:layout/zs_activity_request: Binary XML file line #13 in br.com.flowing:layout/zs_activity_request: Error inflating class com.google.android.material.appbar.AppBarLayout


implementation 'com.google.android.material:material:1.7.0'
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
implementation group: 'com.zendesk', name: 'support', version: '5.1.2'

I have already imported the material. Could you help me with this issue?


0

3

3 comments

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi Durval,
 
Apologies for the delay in someone getting to this! Are you still experiencing issues here? If so, let me know and I can take a look in more detail.
 
Thanks!
 
Tipene

0


Durval Peripato Have you managed to fix it yet ?

I'm still facing this issue Tipene Hughes

0


<activity
            android:name=".{nameApp}.MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>`


Tej Bikram Karki

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post