Android Support The expected type of authentication is null. The local identity is present. The local identity is anonymous.
I tried create tickets using AnonymousIdentity. I'm using kotliin.
In my application
Zendesk.INSTANCE.init(
applicationContext, getString(R.string.zendesk_url),
getString(R.string.zendesk_app_id),
getString(R.string.zendesk_client_id)
)
Support.INSTANCE.init(Zendesk.INSTANCE)
Then in my activity, I tried to show HelpCenterActivity
Zendesk.INSTANCE.setIdentity(
AnonymousIdentity.Builder()
.withEmailIdentifier("email here")
.build()
)
HelpCenterActivity.builder()
.show(this@MainActivity)
I also noticed that if I remove the the email identifier it will open and close immediately.
Logcat:
Returning default Support Settings.
D/ZendeskIdentityStorage: Loading Anonymous identity
D/ZendeskIdentityStorage: Fetching UUID from preferences store
W/RequestActivity: Cannot add attachments, they are disabled in your Zendesk settings.
D/RequestActivity: Installing screen: 'Conversations Disabled Screen'
I/AssistStructure: Flattened final assist data: 5148 bytes, containing 1 windows, 37 views
D/ZendeskIdentityStorage: Loading Anonymous identity
D/ZendeskIdentityStorage: Fetching UUID from preferences store
D/ZendeskIdentityStorage: Loading Anonymous identity
D/GsonSerializer: Unable to deserialize the provided object into Long
D/ZendeskIdentityManager: No previous identity set, storing identity
D/ZendeskIdentityStorage: Storing anonymous identity
D/RequestActivity: Waiting for attachments to be uploaded. Message Id: xxxxxx
D/RequestActivity: Notify if finished. Listener: zendesk.support.request.ActionCreateComment$1@2138b2a, isUploadFinished: true
D/RequestActivity: Attachments resolved and uploaded. Message Id: xxxxxx
D/RequestActivity: Creating a new request. Message Id xxxxxxx
D/GsonSerializer: Unable to deserialize the provided object into Long
D/ZendeskSettingsProvider: Returning default Support Settings.
D/SupportSdkMetadata: Using getTotalMemoryApi() to determine memory
D/SupportSdkMetadata: Using getTotalMemoryApi() to determine memory
D/ZendeskIdentityStorage: Loading Anonymous identity
D/ZendeskIdentityStorage: Fetching UUID from preferences store
D/ZendeskIdentityStorage: Storing new UUID in preference store
D/GsonSerializer: Unable to deserialize the provided object into Long
D/SettingsInterceptor: Requesting SDK settings.
D/GsonSerializer: Unable to deserialize the provided object into Long
D/SettingsInterceptor: Proceeding with chain.
D/ZendeskIdentityStorage: Loading Anonymous identity
D/ZendeskIdentityStorage: Fetching UUID from preferences store
D/GsonSerializer: Unable to deserialize the provided object into AccessToken
W/ZendeskIdentityManager: There is no stored access token, have you initialised an identity and requested an access token?
D/ZendeskAccessIntercepto: Access token is required, intercepting.
D/GsonSerializer: Unable to deserialize the provided object into CoreSettings
D/ZendeskCoreSettingsStor: Unable to load Core SDK Settings, returning default settings.
The expected type of authentication is null. Check that settings have been downloaded.
The local identity is present.
The local identity is anonymous.
-
implementation group: 'com.zendesk', name: 'support', version: '5.0.3'
-
Hey Jibriel,
Can you confirm that your help center is open to the public? If it's not published, or login is required - anonymous identities wouldn't be able to access it.
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy
Iniciar sesión para dejar un comentario.
2 Comentarios