GithubHelp home page GithubHelp logo

Unhandled Exception: MissingPluginException(No implementation found for method notify on channel me.pushy.sdk.flutter/methods) about pushy-flutter HOT 10 CLOSED

pushy avatar pushy commented on August 23, 2024
Unhandled Exception: MissingPluginException(No implementation found for method notify on channel me.pushy.sdk.flutter/methods)

from pushy-flutter.

Comments (10)

ZMChoo avatar ZMChoo commented on August 23, 2024

This is my log by running flutter run --verbose, not sure this info will help or not

[ ] BUILD SUCCESSFUL in 41s
[ ] 653 actionable tasks: 5 executed, 648 up-to-date
[ +360 ms] Running Gradle task 'assembleDebug'... (completed in 42.6s)
[ +54 ms] calculateSha: LocalDirectory: 'C:\Users\zhanm\Desktop\work\afab\afab_flutter\build\app\outputs\flutter-apk'/app.apk
[ +54 ms] calculateSha: reading file took 53us
[ +681 ms] calculateSha: computing sha took 680us
[ +11 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +3 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\zhanm\Desktop\work\afab\afab_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +28 ms] Exit code 0 from: C:\Users\zhanm\AppData\Local\Android\Sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\zhanm\Desktop\work\afab\afab_flutter\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x11
A: android:versionName(0x0101021c)="2.0.3" (Raw: "2.0.3")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.afabasia.afab" (Raw: "com.afabasia.afab")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: uses-permission (line=22)
A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA")
E: uses-permission (line=23)
A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
E: uses-permission (line=24)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
E: uses-permission (line=25)
A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
E: uses-permission (line=26)
A: android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw: "android.permission.READ_EXTERNAL_STORAGE")
E: uses-permission (line=27)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: uses-permission (line=28)
A: android:name(0x01010003)="android.permission.VIBRATE" (Raw: "android.permission.VIBRATE")
E: uses-permission (line=29)
A: android:name(0x01010003)="android.permission.USE_FULL_SCREEN_INTENT" (Raw: "android.permission.USE_FULL_SCREEN_INTENT")
E: uses-permission (line=30)
A: android:name(0x01010003)="android.permission.RECORD_AUDIO" (Raw: "android.permission.RECORD_AUDIO")
E: uses-permission (line=31)
A: android:name(0x01010003)="android.permission.ACCESS_WIFI_STATE" (Raw: "android.permission.ACCESS_WIFI_STATE")
E: uses-permission (line=32)
A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE")
E: uses-permission (line=33)
A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")
E: application (line=34)
A: android:label(0x01010001)="REKA by AFAB" (Raw: "REKA by AFAB")
A: android:icon(0x01010002)=@0x7f0d0001
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:supportsRtl(0x010103af)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: meta-data (line=46)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: activity (line=50)
A: android:theme(0x01010000)=@0x7f1000c5
A: android:name(0x01010003)="com.afabasia.afab.MainActivity" (Raw: "com.afabasia.afab.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x400037b4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=64)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f1000d4
E: meta-data (line=75)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f0700d2
E: intent-filter (line=79)
E: action (line=80)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=82)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=87)
A: android:name(0x01010003)="com.facebook.sdk.ApplicationId" (Raw: "com.facebook.sdk.ApplicationId")
A: android:value(0x01010024)=@0x7f0f008b
E: activity (line=91)
A: android:theme(0x01010000)=@0x7f100195
A: android:label(0x01010001)="REKA by AFAB" (Raw: "REKA by AFAB")
A: android:name(0x01010003)="com.facebook.FacebookActivity" (Raw: "com.facebook.FacebookActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0x5b0
E: activity (line=96)
A: android:name(0x01010003)="com.facebook.CustomTabActivity" (Raw: "com.facebook.CustomTabActivity")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: intent-filter (line=99)
E: action (line=100)
A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
E: category (line=102)
A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
E: category (line=103)
A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
E: data (line=105)
A: android:scheme(0x01010027)=@0x7f0f008f
E: intent-filter (line=107)
E: action (line=108)
A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
E: category (line=110)
A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT")
E: category (line=111)
A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
E: data (line=113)
A: android:scheme(0x01010027)="fbconnect" (Raw: "fbconnect")
A: android:host(0x01010028)="cct.com.afabasia.afab" (Raw: "cct.com.afabasia.afab")
E: receiver (line=124)
A: android:name(0x01010003)="me.pushy.sdk.flutter.internal.PushyInternalReceiver" (Raw: "me.pushy.sdk.flutter.internal.PushyInternalReceiver")
A: android:exported(0x01010010)=(type 0x12)0x0
E: intent-filter (line=127)
E: action (line=130)
A: android:name(0x01010003)="pushy.me" (Raw: "pushy.me")
E: receiver (line=136)
A: android:name(0x01010003)="me.pushy.sdk.receivers.PushyUpdateReceiver" (Raw: "me.pushy.sdk.receivers.PushyUpdateReceiver")
A: android:exported(0x01010010)=(type 0x12)0x0
E: intent-filter (line=139)
E: action (line=140)
A: android:name(0x01010003)="android.intent.action.MY_PACKAGE_REPLACED" (Raw: "android.intent.action.MY_PACKAGE_REPLACED")
E: receiver (line=146)
A: android:name(0x01010003)="me.pushy.sdk.receivers.PushyBootReceiver" (Raw: "me.pushy.sdk.receivers.PushyBootReceiver")
A: android:exported(0x01010010)=(type 0x12)0x0
E: intent-filter (line=149)
E: action (line=150)
A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
E: service (line=156)
A: android:name(0x01010003)="me.pushy.sdk.services.PushySocketService" (Raw: "me.pushy.sdk.services.PushySocketService")
E: service (line=162)
A: android:name(0x01010003)="me.pushy.sdk.services.PushyJobService" (Raw: "me.pushy.sdk.services.PushyJobService")
A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: provider (line=170)
A: android:name(0x01010003)="io.flutter.plugins.imagepicker.ImagePickerFileProvider" (Raw: "io.flutter.plugins.imagepicker.ImagePickerFileProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.afabasia.afab.flutter.image_provider" (Raw: "com.afabasia.afab.flutter.image_provider")
A: android:grantUriPermissions(0x0101001b)=(type 0x12)0xffffffff
E: meta-data (line=175)
A: android:name(0x01010003)="android.support.FILE_PROVIDER_PATHS" (Raw: "android.support.FILE_PROVIDER_PATHS")
A: android:resource(0x01010025)=@0x7f120000
E: activity (line=180)
A: android:theme(0x01010000)=@0x7f100005
A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.InAppBrowser.InAppBrowserActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.InAppBrowser.InAppBrowserActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0x480
E: activity (line=184)
A: android:theme(0x01010000)=@0x7f100149
A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.ChromeCustomTabs.ChromeCustomTabsActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.ChromeCustomTabs.ChromeCustomTabsActivity")
A: android:configChanges(0x0101001f)=(type 0x11)0x480
E: receiver (line=189)
A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.ChromeCustomTabs.ActionBroadcastReceiver" (Raw: "com.pichillilorenzo.flutter_inappwebview.ChromeCustomTabs.ActionBroadcastReceiver")
E: receiver (line=190)
A: android:name(0x01010003)="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" (Raw: "com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver")
E: receiver (line=191)
A: android:name(0x01010003)="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver" (Raw: "com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver")
E: intent-filter (line=192)
E: action (line=193)
A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
E: action (line=194)
A: android:name(0x01010003)="android.intent.action.MY_PACKAGE_REPLACED" (Raw: "android.intent.action.MY_PACKAGE_REPLACED")
E: action (line=195)
A: android:name(0x01010003)="android.intent.action.QUICKBOOT_POWERON" (Raw: "android.intent.action.QUICKBOOT_POWERON")
E: action (line=196)
A: android:name(0x01010003)="com.htc.intent.action.QUICKBOOT_POWERON" (Raw: "com.htc.intent.action.QUICKBOOT_POWERON")
E: receiver (line=199)
A: android:name(0x01010003)="com.github.florent37.assets_audio_player.notification.NotificationActionReceiver" (Raw: "com.github.florent37.assets_audio_player.notification.NotificationActionReceiver")
E: receiver (line=200)
A: android:name(0x01010003)="com.github.florent37.assets_audio_player.notification.CustomMediaButtonReceiver" (Raw: "com.github.florent37.assets_audio_player.notification.CustomMediaButtonReceiver")
E: intent-filter (line=201)
E: action (line=202)
A: android:name(0x01010003)="android.intent.action.MEDIA_BUTTON" (Raw: "android.intent.action.MEDIA_BUTTON")
E: service (line=206)
A: android:name(0x01010003)="com.github.florent37.assets_audio_player.notification.NotificationService" (Raw: "com.github.florent37.assets_audio_player.notification.NotificationService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: activity (line=218)
A: android:name(0x01010003)="com.facebook.CustomTabMainActivity" (Raw: "com.facebook.CustomTabMainActivity")
E: activity (line=219)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" (Raw: "com.google.android.gms.auth.api.signin.internal.SignInHubActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
E: service (line=228)
A: android:name(0x01010003)="com.google.android.gms.auth.api.signin.RevocationBoundService" (Raw: "com.google.android.gms.auth.api.signin.RevocationBoundService")
A: android:permission(0x01010006)="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" (Raw: "com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION")
A: android:exported(0x01010010)=(type 0x12)0xffffffff
E: receiver (line=233)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=239)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=243)
A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService")
A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
A: android:exported(0x01010010)=(type 0x12)0x0
E: service (line=248)
A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
E: meta-data (line=252)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: meta-data (line=255)
A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar")
A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar")
E: activity (line=260)
A: android:theme(0x01010000)=@0x01030010
A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
A: android:exported(0x01010010)=(type 0x12)0x0
E: provider (line=265)
A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.afabasia.afab.firebaseinitprovider" (Raw: "com.afabasia.afab.firebaseinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
E: meta-data (line=272)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f0a0006
E: provider (line=284)
A: android:name(0x01010003)="com.facebook.internal.FacebookInitProvider" (Raw: "com.facebook.internal.FacebookInitProvider")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:authorities(0x01010018)="com.afabasia.afab.FacebookInitProvider" (Raw: "com.afabasia.afab.FacebookInitProvider")
E: receiver (line=289)
A: android:name(0x01010003)="com.facebook.CurrentAccessTokenExpirationBroadcastReceiver" (Raw: "com.facebook.CurrentAccessTokenExpirationBroadcastReceiver")
A: android:exported(0x01010010)=(type 0x12)0x0
E: intent-filter (line=292)
E: action (line=293)
A: android:name(0x01010003)="com.facebook.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED" (Raw: "com.facebook.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED")
[ +24 ms] Stopping app 'app.apk' on Android SDK built for x86.
[ +1 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.afabasia.afab
[ +139 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.afabasia.afab
[ +173 ms] package:com.afabasia.afab
[ +1 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.afabasia.afab.sha1
[ +69 ms] 621fe12685dcedd276ba2cd9d0b17bdbefb7e1d1
[ +1 ms] Latest build already installed.
[ ] Android SDK built for x86 startApp
[ +3 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.afabasia.afab/com.afabasia.afab.MainActivity
[ +142 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.afabasia.afab/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+1862 ms] Observatory URL on device: http://127.0.0.1:36117/HHOCrO_81Ck=/
[ +1 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:36117
[ +31 ms] 63654
[ ] Forwarded host port 63654 to device port 36117 for Observatory
[ +5 ms] Caching compiled dill
[ +46 ms] Connecting to service protocol: http://127.0.0.1:63654/HHOCrO_81Ck=/
[ +1 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[ +285 ms] Successfully connected to service protocol: http://127.0.0.1:63654/HHOCrO_81Ck=/
[ ] Waiting for Android SDK built for x86 to report its views...
[ +8 ms] Waiting for Android SDK built for x86 to report its views... (completed in 7ms)
[ +13 ms] DevFS: Creating new filesystem on the device (null)
[ +32 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.afabasia.afab/code_cache/afab_flutterNPAWPI/afab_flutter/)
[ +1 ms] Updating assets
[+1312 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +12 ms] Syncing files to device Android SDK built for x86...
[ +2 ms] Scanning asset files
[ +77 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +1 ms] <- recompile package:afab_flutter/main_dev.dart 657a263e-ac5f-4914-976c-384d123c1d08
[ ] <- 657a263e-ac5f-4914-976c-384d123c1d08
[ +1 ms] I/TextToSpeech( 6919): Sucessfully bound to com.google.android.tts
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Landroid/view/WindowInsets;->getInsets(I)Landroid/graphics/Insets; (blacklist, linking, denied)
[ ] I/chatty ( 6919): uid=10169(com.afabasia.afab) identical 1 line
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Landroid/view/WindowInsets;->getInsets(I)Landroid/graphics/Insets; (blacklist, linking, denied)
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (greylist, reflection, allowed)
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (greylist, reflection, allowed)
[ ] W/m.afabasia.afa( 6919): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (greylist, reflection, allowed)
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Landroid/util/LongArray;->get(I)J (greylist, reflection, allowed)
[ ] I/FA ( 6919): Tag Manager is not found and thus will not be used
[ ] I/TextToSpeech( 6919): Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
[ ] I/TextToSpeech( 6919): Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
[ ] D/HostConnection( 6919): HostConnection::get() New Host Connection established 0xdc9ba120, tid 6981
[ ] D/HostConnection( 6919): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +1 ms] W/OpenGLRenderer( 6919): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
[ ] D/eglCodecCommon( 6919): setVertexArrayObject: set vao to 0 (0) 0 0
[ ] D/EGL_emulation( 6919): eglCreateContext: 0xe7f40c00: maj 2 min 0 rcv 2
[ ] W/Gralloc3( 6919): mapper 3.x is not supported
[ +1 ms] D/HostConnection( 6919): createUnique: call
[ ] D/HostConnection( 6919): HostConnection::get() New Host Connection established 0xdc9bb2f0, tid 6990
[ ] D/EGL_emulation( 6919): eglMakeCurrent: 0xe7f40c00: ver 2 0 (tinfo 0xdca4f310)
[ ] D/HostConnection( 6919): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +1 ms] D/eglCodecCommon( 6919): allocate: Ask for block of size 0x1000
[ +1 ms] D/eglCodecCommon( 6919): allocate: ioctl allocate returned offset 0x3ff706000 size 0x2000
[ +1 ms] D/HostConnection( 6919): HostConnection::get() New Host Connection established 0xdc9bb390, tid 6990
[ +2 ms] D/HostConnection( 6919): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +5 ms] D/EGL_emulation( 6919): eglMakeCurrent: 0xe7f41560: ver 2 0 (tinfo 0xc8871650)
[ +1 ms] D/EGL_emulation( 6919): eglMakeCurrent: 0xe7f40c00: ver 2 0 (tinfo 0xdca4f310)
[ ] D/eglCodecCommon( 6919): setVertexArrayObject: set vao to 0 (0) 1 0
[ ] E/GraphResponse( 6919): {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '681867279183392' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api}
[ +85 ms] Updating files
[ +313 ms] D/EGL_emulation( 6919): eglMakeCurrent: 0xe7f41560: ver 2 0 (tinfo 0xc8871650)
[ ] D/eglCodecCommon( 6919): setVertexArrayObject: set vao to 0 (0) 1 0
[ +37 ms] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->getUnsafe()Lsun/misc/Unsafe; (greylist,core-platform-api, linking, allowed)
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed)
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
[ +298 ms] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[+1635 ms] W/Pushy ( 6919): Flutter app is listening for foreground notification events
[+1327 ms] DevFS: Sync finished
[ ] Syncing files to device Android SDK built for x86... (completed in 3,814ms, longer than expected)
[ ] Synced 24.5MB.
[ +1 ms] <- accept
[ +4 ms] Connected to _flutterView/0xc8859c10.
[ +1 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:63654/HHOCrO_81Ck=/
[ +37 ms] I/flutter ( 6919): com.google.android.tts
[ +364 ms] D/Pushy ( 6919): PushyJobService: Connecting...
[ +2 ms] D/Pushy ( 6919): Broker: ssl://mqtt-1617090761.pushy.io:443
[ ] D/Pushy ( 6919): Device Token: 12f983d00e1c335eac0c72
[ ] D/Pushy ( 6919): Device Auth Key: 1bb2e6b4ecb1d61b52169eb74174646a1f917c9d9ea42... [truncated]
[ +149 ms] I/flutter ( 6919): Device token: 12f983d00e1c335eac0c72
[ +7 ms] D/Pushy ( 6919): Initializing FlutterBackgroundExecutor background isolate
[ +15 ms] D/eglCodecCommon( 6919): setVertexArrayObject: set vao to 0 (0) 0 0
[ ] D/EGL_emulation( 6919): eglCreateContext: 0xe7ef4500: maj 2 min 0 rcv 2
[ ] D/eglCodecCommon( 6919): setVertexArrayObject: set vao to 0 (0) 0 0
[ ] D/EGL_emulation( 6919): eglCreateContext: 0xe7ef4740: maj 2 min 0 rcv 2
[ +5 ms] D/HostConnection( 6919): HostConnection::get() New Host Connection established 0xdfe53ce0, tid 7101
[ +1 ms] D/HostConnection( 6919): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +25 ms] D/EGL_emulation( 6919): eglMakeCurrent: 0xe7ef4740: ver 2 0 (tinfo 0xcf884e60)
[ +113 ms] W/FlutterEngine( 6919): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@6d27eff) but could not find and invoke the GeneratedPluginRegistrant.
[ +619 ms] W/m.afabasia.afa( 6919): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
[ +19 ms] I/ExoPlayerImpl( 6919): Init 19e362a [ExoPlayerLib/2.13.2] [generic_x86, Android SDK built for x86, Google, 29]
[ +62 ms] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[ +1 ms] D/Pushy ( 6919): Isolate called notificationCallbackReady()
[ +9 ms] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[ +73 ms] I/VideoCapabilities( 6919): Unsupported profile 4 for video/mp4v-es
[ +35 ms] I/OMXClient( 6919): IOmx service obtained
[ +9 ms] I/ACodec ( 6919): codec does not support config priority (err -2147483648)
[ +11 ms] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[ +57 ms] I/chatty ( 6919): uid=10169(com.afabasia.afab) identical 1 line
[ ] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[ +69 ms] D/AudioTrack( 6919): getTimestamp_l(625): device stall time corrected using current time 788430586938200
[ +27 ms] W/m.afabasia.afa( 6919): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
[ +16 ms] W/AudioTrack( 6919): getTimestamp_l(625): retrograde timestamp time corrected, 788430607365300 < 788430610960900
[+3291 ms] I/flutter ( 6919): success
[ +27 ms] I/flutter ( 6919): success
[ +75 ms] I/flutter ( 6919): success
[ +199 ms] D/AudioTrack( 6919): stop(625): called with 170496 frames delivered
[ +325 ms] I/ExoPlayerImpl( 6919): Release 19e362a [ExoPlayerLib/2.13.2] [generic_x86, Android SDK built for x86, Google, 29] [goog.exo.core]
[ +220 ms] I/flutter ( 6919): 1
[ +281 ms] I/flutter ( 6919): animation stopped
[ +599 ms] I/m.afabasia.afa( 6919): NativeAlloc concurrent copying GC freed 12336(648KB) AllocSpace objects, 3(204KB) LOS objects, 49% free, 3406KB/6812KB, paused 334us total 101.686ms
[+2485 ms] D/Pushy ( 6919): Connected successfully (sending keep alive every 300 seconds)
[+113682 ms] D/EGL_emulation( 6919): eglMakeCurrent: 0xe7f40c00: ver 2 0 (tinfo 0xdca4f310)
[+8340 ms] D/Pushy ( 6919): Received push for package com.afabasia.afab
[ ] D/Pushy ( 6919): {message=Hello Hell}
[ +8 ms] D/Pushy ( 6919): Invoking push receiver via reflection: me.pushy.sdk.flutter.internal.PushyInternalReceiver
[ ] D/Pushy ( 6919): Handling notification in Flutter background isolate
[ +4 ms] I/flutter ( 6919): Pushy: _isolate() received notfication
[ +2 ms] I/flutter ( 6919): Pushy notification received: {__json: {"message":"Hello Hell"}, message: Hello Hell}
[ ] I/flutter ( 6919): Received notification: {__json: {"message":"Hello Hell"}, message: Hello Hell}
[ +14 ms] E/flutter ( 6919): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method notify on channel me.pushy.sdk.flutter/methods)
[ ] E/flutter ( 6919): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
[ ] E/flutter ( 6919): <asynchronous suspension>
[ ] E/flutter ( 6919): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
[ ] E/flutter ( 6919): #2 Pushy.notify (package:pushy_flutter/pushy_flutter.dart:173:14)
[ ] E/flutter ( 6919): #3 backgroundNotificationListener (package:afab_flutter/main.dart:79:9)
[ ] E/flutter ( 6919): #4 _isolate.<anonymous closure> (package:pushy_flutter/pushy_flutter.dart:232:27)
[ ] E/flutter ( 6919): #5 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:430:55)
[ ] E/flutter ( 6919): #6 MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:383:34)
[ ] E/flutter ( 6919): #7 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:283:33)
[ ] E/flutter ( 6919): #8 _invoke3.<anonymous closure> (dart:ui/hooks.dart:280:15)
[ ] E/flutter ( 6919): #9 _rootRun (dart:async/zone.dart:1190:13)
[ ] E/flutter ( 6919): #10 _CustomZone.run (dart:async/zone.dart:1093:19)
[ ] E/flutter ( 6919): #11 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
[ ] E/flutter ( 6919): #12 _invoke3 (dart:ui/hooks.dart:279:10)
[ ] E/flutter ( 6919): #13 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)
[ ] E/flutter ( 6919):
[+189204 ms] D/Pushy ( 6919): PushyJobService: Sending keep alive

from pushy-flutter.

pushy avatar pushy commented on August 23, 2024

Hi @ZMChoo,
We'd be glad to assist.

This most likely has to do with the way your main.dart is structured, and it can affect the context in which the Flutter background isolate runs, and the methods it can access.

Can you please share the entire contents of your main.dart file here, or send them to [email protected] along with a link to this issue?

Thanks for your assistance.

from pushy-flutter.

ZMChoo avatar ZMChoo commented on August 23, 2024

Hi @pushy-me ,
I have set up the background notification listener in several files, I will send those related dart file to [email protected].

Let me briefly explain the relationship among those files. There are 3 files which is main.dart, main_dev.dart and ads_splash_screen.dart.

I have put the backgroundNotificationListener() function in main.dart file, but the place I listen to this function is in ads_splash_screen.dart file.

Plus, I have an environment file called main_dev.dart which is only used to preset some keys for the usage of the entire app. I'm not sure whether this file will affect the background notification issue. Thus, I will also send this main_dev.dart file to you.

Thank for the reply.

from pushy-flutter.

pushy avatar pushy commented on August 23, 2024

Hi @ZMChoo,
For the background notification listener to work properly, please move the invocation of Pushy.setNotificationListener(backgroundNotificationListener); from ads_splash_screen.dart to main.dart, right after the line of code super.initState();.

Then, try running your app again and let us know if the issue is resolved.

from pushy-flutter.

ZMChoo avatar ZMChoo commented on August 23, 2024

Hi @pushy-me,
I have move those code from ads_splash_screen.dart to main.dart, but the MissingPluginException error still happen. I will send you again my updated main.dart file to [email protected] and also share you my log again here.

[ +29 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ ] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 install -t -r
C:\Users\zhanm\Desktop\work\afab\afab_flutter\build\app\outputs\flutter-apk\app.apk
[+1222 ms] Performing Streamed Install
Success
[ ] Installing build\app\outputs\flutter-apk\app.apk... (completed in 1.2s)
[ +3 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n 4bb38d7fb13804bf53bfdcf3a33a6195aa9ae712 >
/data/local/tmp/sky.com.afabasia.afab.sha1
[ +85 ms] Android SDK built for x86 startApp
[ +4 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.afabasia.afab/com.afabasia.afab.MainActivity
[ +212 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.afabasia.afab/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+2390 ms] Observatory URL on device: http://127.0.0.1:46043/bBUBMWnGZMo=/
[ +1 ms] executing: C:\Users\zhanm\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:46043
[ +33 ms] 59325
[ +1 ms] Forwarded host port 59325 to device port 46043 for Observatory
[ +3 ms] Caching compiled dill
[ +56 ms] Connecting to service protocol: http://127.0.0.1:59325/bBUBMWnGZMo=/
[ +1 ms] DDS is currently disabled due to flutter/flutter#62507
[ +340 ms] Successfully connected to service protocol: http://127.0.0.1:59325/bBUBMWnGZMo=/
[ +1 ms] Waiting for Android SDK built for x86 to report its views...
[ +33 ms] Waiting for Android SDK built for x86 to report its views... (completed in 31ms)
[ +42 ms] DevFS: Creating new filesystem on the device (null)
[ +1 ms] D/EGL_emulation(18279): eglMakeCurrent: 0xdb61ac60: ver 2 0 (tinfo 0xdb6f9cd0)
[ +39 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.afabasia.afab/code_cache/afab_flutterWJAMTW/afab_flutter/)
[ +4 ms] Updating assets
[+1591 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +13 ms] Syncing files to device Android SDK built for x86...
[ +2 ms] Scanning asset files
[ +107 ms] <- reset
[ +1 ms] Compiling dart to kernel with 0 updated files
[ +1 ms] <- recompile package:afab_flutter/main_dev.dart 0daca8b8-a384-4704-9447-7e55afd49502
[ ] <- 0daca8b8-a384-4704-9447-7e55afd49502
[ +4 ms] W/Gralloc3(18279): mapper 3.x is not supported
[ ] D/HostConnection(18279): createUnique: call
[ ] D/HostConnection(18279): createUnique: call
[ ] D/HostConnection(18279): HostConnection::get() New Host Connection established 0xdb6408b0, tid 18400
[ ] D/HostConnection(18279): HostConnection::get() New Host Connection established 0xc411bd80, tid 18332
[ ] D/HostConnection(18279): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1
ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings
ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync
ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +1 ms] D/eglCodecCommon(18279): allocate: Ask for block of size 0x1000
[ ] D/HostConnection(18279): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1
ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings
ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync
ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +1 ms] D/eglCodecCommon(18279): allocate: ioctl allocate returned offset 0x3ff706000 size 0x2000
[ +2 ms] D/HostConnection(18279): HostConnection::get() New Host Connection established 0xdb640900, tid 18400
[ +4 ms] D/HostConnection(18279): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1
ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings
ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync
ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +1 ms] D/EGL_emulation(18279): eglMakeCurrent: 0xe36b7d40: ver 2 0 (tinfo 0xdb60fda0)
[ ] I/m.afabasia.afa(18279): Background concurrent copying GC freed 16384(1368KB) AllocSpace objects, 8(288KB) LOS objects, 49% free, 2381KB/4762KB, paused 594us total
224.726ms
[ +1 ms] D/EGL_emulation(18279): eglMakeCurrent: 0xdb61ac60: ver 2 0 (tinfo 0xdb6f9cd0)
[ ] D/eglCodecCommon(18279): setVertexArrayObject: set vao to 0 (0) 1 0
[ ] I/Choreographer(18279): Skipped 32 frames! The application may be doing too much work on its main thread.
[ ] E/GraphResponse(18279): {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID
'681867279183392' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at
https://developers.facebook.com/docs/graph-api}
[ +5 ms] D/EGL_emulation(18279): eglMakeCurrent: 0xe36b7d40: ver 2 0 (tinfo 0xdb60fda0)
[ ] D/eglCodecCommon(18279): setVertexArrayObject: set vao to 0 (0) 1 0
[ +1 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->getUnsafe()Lsun/misc/Unsafe; (greylist,core-platform-api, linking, allowed)
[ +1 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed)
[ ] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ ] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
[ ] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ +157 ms] Updating files
[ +422 ms] W/Pushy (18279): Flutter app is listening for foreground notification events
[ +6 ms] D/Pushy (18279): Initializing FlutterBackgroundExecutor background isolate
[ +5 ms] D/eglCodecCommon(18279): setVertexArrayObject: set vao to 0 (0) 0 0
[ ] D/EGL_emulation(18279): eglCreateContext: 0xe36f5740: maj 2 min 0 rcv 2
[ ] D/eglCodecCommon(18279): setVertexArrayObject: set vao to 0 (0) 0 0
[ +1 ms] D/EGL_emulation(18279): eglCreateContext: 0xe36f4780: maj 2 min 0 rcv 2
[ +8 ms] D/HostConnection(18279): HostConnection::get() New Host Connection established 0xdb641850, tid 18518
[ ] D/HostConnection(18279): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1
ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings
ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync
ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[ +42 ms] D/EGL_emulation(18279): eglMakeCurrent: 0xe36f4780: ver 2 0 (tinfo 0xbba25d10)
[ +99 ms] W/FlutterEngine(18279): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@105a5a0) but could not find and invoke the
GeneratedPluginRegistrant.
[+1110 ms] D/Pushy (18279): Isolate called notificationCallbackReady()
[ +456 ms] D/Pushy (18279): PushyJobService: Connecting...
[ +2 ms] D/Pushy (18279): Broker: ssl://mqtt-1617162827.pushy.io:443
[ +1 ms] D/Pushy (18279): Device Token: 12f983d00e1c335eac0c72
[ +10 ms] D/Pushy (18279): Device Auth Key: 1bb2e6b4ecb1d61b52169eb74174646a1f917c9d9ea42... [truncated]
[ +27 ms] I/flutter (18279): Device token: 12f983d00e1c335eac0c72
[ +907 ms] I/flutter (18279): FormatException: Invalid radix-10 number (at character 1)
[ +1 ms] I/flutter (18279): null
[ ] I/flutter (18279): ^
[+1794 ms] DevFS: Sync finished
[ ] Syncing files to device Android SDK built for x86... (completed in 5,208ms, longer than expected)
[ ] Synced 24.5MB.
[ ] <- accept
[ +5 ms] Connected to _flutterView/0xc3da5410.
[ ] Connected to _flutterView/0xc405ec10.
[ +1 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:59325/bBUBMWnGZMo=/
[ +106 ms] W/m.afabasia.afa(18279): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
[ +15 ms] I/ExoPlayerImpl(18279): Init ea32248 [ExoPlayerLib/2.13.2] [generic_x86, Android SDK built for x86, Google, 29]
[ +40 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ +65 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ ] I/VideoCapabilities(18279): Unsupported profile 4 for video/mp4v-es
[ +35 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ +12 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ ] I/OMXClient(18279): IOmx service obtained
[ +6 ms] I/ACodec (18279): codec does not support config priority (err -2147483648)
[ +78 ms] W/m.afabasia.afa(18279): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking,
allowed)
[ +745 ms] D/Pushy (18279): Connected successfully (sending keep alive every 300 seconds)
[+2652 ms] I/flutter (18279): success
[ +152 ms] I/chatty (18279): uid=10169(com.afabasia.afab) 1.ui identical 1 line
[ ] I/flutter (18279): success
[ +125 ms] D/AudioTrack(18279): stop(23): called with 170496 frames delivered
[ +339 ms] I/ExoPlayerImpl(18279): Release ea32248 [ExoPlayerLib/2.13.2] [generic_x86, Android SDK built for x86, Google, 29] [goog.exo.core]
[ +223 ms] I/flutter (18279): 1
[ +280 ms] I/flutter (18279): animation stopped
[+11769 ms] D/EGL_emulation(18279): eglMakeCurrent: 0xdb61ac60: ver 2 0 (tinfo 0xdb6f9cd0)
[+2559 ms] D/Pushy (18279): Received push for package com.afabasia.afab
[ ] D/Pushy (18279): {message=test notification}
[ +2 ms] D/Pushy (18279): Invoking push receiver via reflection: me.pushy.sdk.flutter.internal.PushyInternalReceiver
[ +1 ms] D/Pushy (18279): Handling notification in Flutter background isolate
[ +10 ms] I/flutter (18279): Pushy: _isolate() received notfication
[ +2 ms] I/flutter (18279): Pushy notification received: {__json: {"message":"test notification"}, message: test notification}
[ +2 ms] I/flutter (18279): Received notification: {__json: {"message":"test notification"}, message: test notification}
[ +14 ms] E/flutter (18279): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method notify on channel
me.pushy.sdk.flutter/methods)
[ +1 ms] E/flutter (18279): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
[ ] E/flutter (18279):
[ ] E/flutter (18279): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
[ ] E/flutter (18279): #2 Pushy.notify (package:pushy_flutter/pushy_flutter.dart:173:14)
[ ] E/flutter (18279): #3 backgroundNotificationListener (package:afab_flutter/main.dart:78:9)
[ ] E/flutter (18279): #4 _isolate. (package:pushy_flutter/pushy_flutter.dart:232:27)
[ ] E/flutter (18279): #5 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:430:55)
[ ] E/flutter (18279): #6 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:383:34)
[ ] E/flutter (18279): #7 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:283:33)
[ ] E/flutter (18279): #8 _invoke3. (dart:ui/hooks.dart:280:15)
[ ] E/flutter (18279): #9 _rootRun (dart:async/zone.dart:1190:13)
[ ] E/flutter (18279): #10 _CustomZone.run (dart:async/zone.dart:1093:19)
[ ] E/flutter (18279): #11 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
[ ] E/flutter (18279): #12 _invoke3 (dart:ui/hooks.dart:279:10)
[ ] E/flutter (18279): #13 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)

from pushy-flutter.

pushy avatar pushy commented on August 23, 2024

Hi @ZMChoo,
Thanks, your main.dart seems fine now.

  1. Please make sure your pubspec.yaml is referencing version 1.1.9 of our SDK:
pushy_flutter: 1.1.6

Then, run flutter pub get to fetch the dependency and run your app to see if the error from Pushy.notify() went away.

  1. This may have to do with running your Flutter app in hot-reload / hot restart mode.

If you are using hot restart or hot reload, it may result in MissingPluginException when the Flutter background isolate runs. Since Flutter has to inject plugin dependencies into the platform-specific parts of your app, hot restart/hot reload is not enough to trigger the injection.

Please try closing the app, and execute flutter run. Then try to reproduce the issue with Pushy.notify() throwing an exception.

from pushy-flutter.

ZMChoo avatar ZMChoo commented on August 23, 2024

Hi @pushy-me,
I'm already using pushy_flutter: ^1.1.9 version, but it still showing me the same error message.

Is it I need to configure something in my AndroidManifest.xml file or MainActivity.kt file?
I have sent my AndroidManifest.xml file to [email protected].

Below are my dependencies in pubspec.yaml file

cupertino_icons: ^1.0.0
dio: ^3.0.10
provider: ^4.3.2+2
pull_to_refresh: ^1.6.2
flutter_svg: ^0.19.0
intl: ^0.16.1
animations: ^1.1.2
localstorage: ^3.0.2+5
flutter_launcher_icons: ^0.8.1
flutter_launcher_name: ^0.0.1
flutter_facebook_login: ^3.0.0
flushbar: ^1.10.4
google_sign_in: ^4.5.5
sliding_up_panel: ^1.0.2
flutter_staggered_animations: ^0.1.2
flutter_staggered_grid_view: ^0.3.2
flutter_tts: ^1.0.0
volume_control: ^0.1.3
path: ^1.7.0
path_provider: ^1.6.24
camera: ^0.5.8+11
aeyrium_sensor: ^1.0.7
carousel_slider: ^2.3.1
cached_network_image: ^2.4.1
expandable: ^4.1.4
flutter_html: ^0.11.1
country_icons: ^1.1.1
webview_flutter: ^1.0.7
image_picker: ^0.6.6+5
youtube_player_flutter: ^7.0.0+7
flutter_inappwebview: ^4.0.0+4
easy_localization: ^2.3.2
flutter_phoenix: ^0.1.0
sign_in_with_apple: ^2.5.4
flutter_offline: "^0.3.0"
photo_view: ^0.10.3
pushy_flutter: ^1.1.9
video_player: ^1.0.1
flutter_statusbarcolor: ^0.2.3
package_info: ^0.4.3+2
flavor: ^1.0.1
assets_audio_player: ^2.0.15
flutter_local_notifications: ^4.0.1+2
mailer: ^3.3.0

from pushy-flutter.

pushy avatar pushy commented on August 23, 2024

Hi @ZMChoo,
Please try our previous suggestion mentioned:

This may have to do with running your Flutter app in hot-reload / hot restart mode.

If you are using hot restart or hot reload, it may result in MissingPluginException when the Flutter background isolate runs. Since Flutter has to inject plugin dependencies into the platform-specific parts of your app, hot restart/hot reload is not enough to trigger the injection.

Please try closing the app, and execute flutter run. Then try to reproduce the issue with Pushy.notify() throwing an exception.

from pushy-flutter.

ZMChoo avatar ZMChoo commented on August 23, 2024

Hi @pushy-me,
Yes, I have tried to execute flutter run. It still giving me the message MissingPluginException.

Belows are my latest log:

√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk... 0.9s
Waiting for Android SDK built for x86 to report its views... 8ms
I/chatty ( 6131): uid=10169(com.afabasia.afab) identical 1 line
W/m.afabasia.afa( 6131): Accessing hidden method Landroid/view/WindowInsets;->getInsets(I)Landroid/graphics/Insets; (blacklist, linking, denied)
W/m.afabasia.afa( 6131): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (greylist, reflection, allowed)
W/m.afabasia.afa( 6131): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (greylist, reflection, allowed)
W/m.afabasia.afa( 6131): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (greylist, reflection, allowed)
W/m.afabasia.afa( 6131): Accessing hidden method Landroid/util/LongArray;->get(I)J (greylist, reflection, allowed)
I/FA ( 6131): Tag Manager is not found and thus will not be used
I/TextToSpeech( 6131): Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
I/TextToSpeech( 6131): Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
D/HostConnection( 6131): HostConnection::get() New Host Connection established 0xdb65e500, tid 6212
D/HostConnection( 6131): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
W/OpenGLRenderer( 6131): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/eglCodecCommon( 6131): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 6131): eglCreateContext: 0xdb61a7e0: maj 2 min 0 rcv 2
D/EGL_emulation( 6131): eglMakeCurrent: 0xdb61a7e0: ver 2 0 (tinfo 0xdb60f190)
W/Gralloc3( 6131): mapper 3.x is not supported
D/HostConnection( 6131): createUnique: call
D/HostConnection( 6131): createUnique: call
D/HostConnection( 6131): HostConnection::get() New Host Connection established 0xd81bb750, tid 6223
D/HostConnection( 6131): HostConnection::get() New Host Connection established 0xc3953850, tid 6212
D/HostConnection( 6131): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/eglCodecCommon( 6131): allocate: Ask for block of size 0x1000
D/eglCodecCommon( 6131): allocate: ioctl allocate returned offset 0x3ff706000 size 0x2000
D/HostConnection( 6131): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/HostConnection( 6131): HostConnection::get() New Host Connection established 0xd81bb7a0, tid 6223
D/HostConnection( 6131): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/EGL_emulation( 6131): eglMakeCurrent: 0xd81bd8a0: ver 2 0 (tinfo 0xee8ca9f0)
D/EGL_emulation( 6131): eglMakeCurrent: 0xdb61a7e0: ver 2 0 (tinfo 0xdb60f190)
D/eglCodecCommon( 6131): setVertexArrayObject: set vao to 0 (0) 1 0
E/GraphResponse( 6131): {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '1007747896420993' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api}
I/m.afabasia.afa( 6131): NativeAlloc concurrent copying GC freed 91695(4714KB) AllocSpace objects, 8(288KB) LOS objects, 49% free, 2256KB/4513KB, paused 16.334ms total 121.133ms
D/EGL_emulation( 6131): eglMakeCurrent: 0xd81bd8a0: ver 2 0 (tinfo 0xee8ca9f0)
D/eglCodecCommon( 6131): setVertexArrayObject: set vao to 0 (0) 1 0
W/m.afabasia.afa( 6131): Accessing hidden method Lsun/misc/Unsafe;->getUnsafe()Lsun/misc/Unsafe; (greylist,core-platform-api, linking, allowed)
W/m.afabasia.afa( 6131): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed)
W/m.afabasia.afa( 6131): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
W/m.afabasia.afa( 6131): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/Pushy ( 6131): Flutter app is listening for foreground notification events
D/Pushy ( 6131): Initializing FlutterBackgroundExecutor background isolate
D/eglCodecCommon( 6131): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 6131): eglCreateContext: 0xe36a7060: maj 2 min 0 rcv 2
D/eglCodecCommon( 6131): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 6131): eglCreateContext: 0xe36a7120: maj 2 min 0 rcv 2
D/HostConnection( 6131): HostConnection::get() New Host Connection established 0xdb6625b0, tid 6300
D/HostConnection( 6131): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/EGL_emulation( 6131): eglMakeCurrent: 0xe36a7120: ver 2 0 (tinfo 0xbeab4c10)
W/FlutterEngine( 6131): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@a79f1f7) but could not find and invoke the GeneratedPluginRegistrant.
Syncing files to device Android SDK built for x86...
D/Pushy ( 6131): Isolate called notificationCallbackReady()
D/Pushy ( 6131): PushyJobService: Connecting...
D/Pushy ( 6131): Broker: ssl://mqtt-1617330435.pushy.io:443
D/Pushy ( 6131): Device Token: 12f983d00e1c335eac0c72
D/Pushy ( 6131): Device Auth Key: 1bb2e6b4ecb1d61b52169eb74174646a1f917c9d9ea42... [truncated]
I/flutter ( 6131): Device token: 12f983d00e1c335eac0c72
Syncing files to device Android SDK built for x86... 4,290ms (!)

Flutter run key commands.
r Hot reload.
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:49461/_ZUJqZmkrM4=/
D/Pushy ( 6131): Connected successfully (sending keep alive every 300 seconds)
W/m.afabasia.afa( 6131): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
I/ExoPlayerImpl( 6131): Init b4eb390 [ExoPlayerLib/2.13.2] [generic_x86, Android SDK built for x86, Google, 29]
W/m.afabasia.afa( 6131): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
I/VideoCapabilities( 6131): Unsupported profile 4 for video/mp4v-es
I/OMXClient( 6131): IOmx service obtained
I/ACodec ( 6131): codec does not support config priority (err -2147483648)
D/AudioTrack( 6131): getTimestamp_l(48): device stall time corrected using current time 64318841127140
I/flutter ( 6131): 1
I/flutter ( 6131): animation stopped
D/AudioTrack( 6131): stop(48): called with 273024 frames delivered
I/ExoPlayerImpl( 6131): Release b4eb390 [ExoPlayerLib/2.13.2] [generic_x86, Android SDK built for x86, Google, 29] [goog.exo.core]
D/EGL_emulation( 6131): eglMakeCurrent: 0xdb61a7e0: ver 2 0 (tinfo 0xdb60f190)
D/Pushy ( 6131): Received push for package com.afabasia.afab
D/Pushy ( 6131): {message=Hello World!}
D/Pushy ( 6131): Invoking push receiver via reflection: me.pushy.sdk.flutter.internal.PushyInternalReceiver
D/Pushy ( 6131): Handling notification in Flutter background isolate
I/flutter ( 6131): Pushy: _isolate() received notfication
I/flutter ( 6131): Pushy notification received: {__json: {"message":"Hello World!"}, message: Hello World!}
I/flutter ( 6131): Received notification: {__json: {"message":"Hello World!"}, message: Hello World!}
E/flutter ( 6131): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method notify on channel me.pushy.sdk.flutter/methods)
E/flutter ( 6131): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
E/flutter ( 6131):
E/flutter ( 6131): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter ( 6131): #2 Pushy.notify (package:pushy_flutter/pushy_flutter.dart:173:14)
E/flutter ( 6131): #3 backgroundNotificationListener (package:afab_flutter/main.dart:78:9)
E/flutter ( 6131): #4 _isolate. (package:pushy_flutter/pushy_flutter.dart:232:27)
E/flutter ( 6131): #5 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:430:55)
E/flutter ( 6131): #6 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:383:34)
E/flutter ( 6131): #7 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:283:33)
E/flutter ( 6131): #8 _invoke3. (dart:ui/hooks.dart:280:15)
E/flutter ( 6131): #9 _rootRun (dart:async/zone.dart:1190:13)
E/flutter ( 6131): #10 _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter ( 6131): #11 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter ( 6131): #12 _invoke3 (dart:ui/hooks.dart:279:10)
E/flutter ( 6131): #13 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)

from pushy-flutter.

pushy avatar pushy commented on August 23, 2024

Hi @ZMChoo,
I'm really sorry, but to continue with the investigation, we will need you to send over your project files so we can try to reproduce the issue locally. Since the issue isn't happening with a clean integration of the Pushy Flutter SDK, nor in the Pushy Demo Flutter project, the issue must lie inside your own project files.

If you could send over your project files, please send them via e-mail. Thanks for your help in continuing investigation.

from pushy-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.