Jig*_*tel 5 android push-notification firebase flutter firebase-cloud-messaging
我使用 Flutter 开发了我的应用程序,并集成了不同的 Firebase 服务,如身份验证、消息传递等。
这个应用程序在带有调试和发布版本的设备上进行开发和测试时运行良好,但是当我在 google play 商店(封闭测试 - alpha 通道)上发布新版本时,立即收到了很少的关于哨兵的崩溃报告。
顺便说一句,我已经上传了许多构建,但之前没有使用相同的应用程序和 firebase 服务发生此类崩溃,但最近我升级到 Flutter 2 和最新的 firebase 依赖项
崩溃日志信息
FirebaseException: [firebase_messaging/unknown] SERVICE_NOT_AVAILABLE
File "method_channel_messaging.dart", line 226, in MethodChannelFirebaseMessaging.getToken
Run Code Online (Sandbox Code Playgroud)
FirebaseAuthException: [firebase_auth/unknown] com.google.firebase.j: An internal error has occurred. [ unexpected end of stream on Connection{www.googleapis.com:443, proxy=DIRECT@ hostAddress=216.58.195.138 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0) ]
File "method_channel_user.dart", line 135, in MethodChannelUser.reload
File "user.dart", line 260, in User.reload
File "xx.dart", line 41, in xx.xx
...
(2 additional frame(s) were not displayed)
Run Code Online (Sandbox Code Playgroud)
FirebaseAuthException: [firebase_auth/unknown] com.google.firebase.j: An internal error has occurred. [ unexpected end of stream on Connection{www.googleapis.com:443, proxy=DIRECT@ hostAddress=216.58.195.138 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0) ]
File "method_channel_firebase_auth.dart", line 457, in MethodChannelFirebaseAuth.signInAnonymously
File "firebase_auth.dart", line 393, in FirebaseAuth.signInAnonymously
File "xx.dart", line 71, in xxx.xx
File "xxx.dart", line 11, in xxx.xx
...
(2 additional frame(s) were not displayed)
Run Code Online (Sandbox Code Playgroud)
设备信息
device = Pixel 3
device.family = Pixel
environment = PRODUCTION
event.environment = dart
event.origin = flutter
isSideLoaded = true
level = error
os = Android 9
os.name = Android
os.rooted = no
dist = xxxxx
release = x.x.x@x.x.x+xxxx
user = x.x.x.x
Run Code Online (Sandbox Code Playgroud)
device = Nexus 5X
device.family = Nexus
environment = PRODUCTION
event.environment = dart
event.origin = flutter
installerStore = com.android.vending
isSideLoaded = false
level = error
os = Android 6.0.1
os.name = Android
os.rooted = yes
dist = xxxxxxx
release = xx.xx.xx@x.x.x+xxxxxx
user = id:xxx
Run Code Online (Sandbox Code Playgroud)
我试图环顾四周并选择为什么会发生这种情况,或者我该如何解决或任何可能的解决方法......但直到现在都没有运气。
任何人都面临类似的事情?任何帮助我如何为这些添加任何解决方法?
我怀疑,可能有一些基于机器人的预发布报告测试,这可能会导致这些崩溃。
任何想法或可能的解决方法?