Error in Flutter implemenetation project | Community
Skip to main content
Level 2
November 30, 2023
Question

Error in Flutter implemenetation project

  • November 30, 2023
  • 1 reply
  • 2191 views

Hi Community, 

 

I hope you are doing well. I've encountered a new challenge in my Flutter implementation. While we've completed the configuration in the app, a specific issue is surfacing in the console that needs attention. this is the error that the console shows PlatformException(0, general.unexpected, null, null). 

 

I will also include the configuration done by the developers if you see some error:

Dependencies

Initialization code

HashMap (Android)

Again thanks to everybody for your help ! 

 

David 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 3
December 1, 2023

Hi @davidlanch ,

 

Have you implemented the SDK in the Java and can you please share the log's what you are getting in console or logcat.

Level 2
December 1, 2023

Bonjour @uditgupta1,

 

This is the log that i have:

[Hier 10:31] sam(mac) (Invité) D/ProfileInstaller(18512): Installing profile for fr.aba.afer.afer.dev I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [VERBOSE] | 10:30:25 673ms | Talker initialization completed I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── V/Didomi (18512): TIME MEASUREMENT - Starting time measure I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [DEBUG] | 10:30:26 121ms | NetworkStatus.wifi I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── D/CompatibilityChangeReporter(18512): Compat change id reported: ------; UID 1----; state: ENABLED D/SessionsDependencies(18512): Dependency to CRASHLYTICS added. I/FirebaseApp(18512): Device unlocked: initializing all Firebase APIs for app [DEFAULT] I/FirebaseCrashlytics(18512): Initializing Firebase Crashlytics 18.6.0 for fr.aba.afer.afer.dev D/SessionsDependencies(18512): Subscriber CRASHLYTICS registered. I/a.afer.afer.dev(18512): NativeAlloc concurrent copying GC freed 48262(3126KB) AllocSpace objects, 13(276KB) LOS objects, 49% free, 8420KB/16MB, paused 856us,3.817ms total 177.699ms E/Didomi (18512): Error, language 'en_US' is not supported or not enabled. I/FirebaseCrashlytics(18512): No version control information found D/FirebaseSessions(18512): Initializing Firebase Sessions SDK. D/Didomi (18512): Not enabling support for IAB consent storage D/LifecycleServiceBinder(18512): Binding service to application. D/SessionLifecycleService(18512): Service bound to new client on process 18512 D/SessionLifecycleService(18512): App has not yet foregrounded. Using previously stored session: null D/SessionLifecycleService(18512): Client android.os.Messenger@1dda96e bound at 58985277. Clients: 1 D/SessionLifecycleClient(18512): Connected to SessionLifecycleService. Queue size 0 V/Didomi (18512): TIME MEASUREMENT - 992ms since last measure - 992ms since start -- Log : SDK configuration loaded V/Didomi (18512): TIME MEASUREMENT - 1ms since last measure - 993ms since start -- Log : Consent parameters initialized V/Didomi (18512): TIME MEASUREMENT - 0ms since last measure - 993ms since start -- Log : SDK is ready! I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [DEBUG] | 10:30:28 671ms | TrackerHelper.trackEvent: Screenview with parameters: {screenName: FR:AF:EA:Connexion, screenCategory: Connexion} I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [DEBUG] | 10:30:28 676ms | {eventType: Screenview, _avivafrance: {screenName: FR:AF:EA:Connexion, screenCategory: Connexion, siteName: Afer & moi, deviceOS: Android, env: Dev}, _experience: {analytics: {customDimensions: {eVars2: FR:AF:EA:Connexion}}, event1to100: {event1: {id: Screenview, value: 1}}}} I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [DEBUG] | 10:30:28 688ms | TrackerHelper.trackEvent: Screenview with parameters: {screenName: FR:AF:EA:Connexion, screenCategory: Connexion} SENT I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── V/RootBeer(18512): RootBeer: checkForDangerousProps() [283] - ro.debuggable = [1] detected! D/FlutterAEPEdgeDataBridge(18512): eventFromMap - XDM data is required, but it is currently null. E/FlutterAEPEdgePlugin(18512): Dispatch Experience Event failed because experience event is null. I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [VERBOSE] | 10:30:38 541ms | Didomi is ready I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [WARNING] | 10:30:39 195ms | PlatformException(0, general.unexpected, null, null) I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── E/LocationAssistant(18512): Need location permission, but no activity is registered! Specify a valid activity when constructing LocationAssistant or register it explicitly with register(). E/LocationAssistant(18512): Need location permission, but no activity is registered! Specify a valid activity when constructing LocationAssistant or register it explicitly with register(). I/flutter (18512): ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (18512): │ [DEBUG] | 10:30:39 419ms | [565, c:adobe-tagmanager, c:omniture-adobe-analytics] I/flutter (18512): └────────────────────────────────────────────────────────────────────────────────────────────────────────────── V/RootBeer(18512): RootBeer: checkForDangerousProps() [283] - ro.debuggable = [1] detected! W/Settings(18512): Setting development_settings_enabled has moved from android.provider.Settings.Secure to android.provider.Settings.Global. E/LocationAssistant(18512): Need location permission, but no activity is registered! Specify a valid activity when constructing LocationAssistant or register it explicitly with register(). E/LocationAssistant(18512): Need location permission, but no activity is registered! Specify a valid activity when constructing LocationAssistant or register it explicitly with register(). W/Parcel (18512): Expecting binder but got null! D/EGL_emulation(18512): app_time_stats: avg=455.10ms min=64.16ms max=671.70ms count=3 [Hier 10:31] sam(mac) (Invité) [WARNING] | 10:30:39 195ms | PlatformException(0, general.unexpected, null, null)