firebase-crash-reporting
全部标签 我正在尝试在cordovaappios上添加firebase通知,但我做不到。这是我完成的步骤:1-创建firebase项目2-复制配置文件Googleservice-info.plist3-安装cordova插件fcm4-将此代码添加到文件index.jswindow.FirebasePlugin.grantPermission();FCMPlugin.onNotification(function(data){if(data.wasTapped){//Notificationwasreceivedondevicetrayandtappedbytheuser.console.log(
Google规定要执行以下操作。https://firebase.google.com/docs/configure/#support_multiple_environments_in_your_ios_application我只想有1个目标,并为GoogleServiceplist文件使用不同的名称,谷歌随后会解释。但是,每当添加崩溃报告依赖项并且google服务plist未准确命名为GoogleService-Info.plist时,脚本就会失败并指出错误SERVICE_PLIST:GoogleService-Info.plistcouldnotbelocated.为什么googl
在我的iPhone应用程序的主屏幕中,我需要检查用户是否已登录。在我的viewDidAppear()中,我这样检查:overridefuncviewDidAppear(_animated:Bool){ifletuser=FIRAuth.auth()?.currentUser{//userisloggedin}else{//usernotloggedin,sendtohomepageself.performSegue(withIdentifier:"NotLoggedInSegue",sender:self)}}在每个在线示例中,我都看到人们在他们的代码中使用FIRAuth.auth()
0libsystem_kernel.dylib__pthread_kill+81libsystem_pthread.dylibpthread_kill+1122libsystem_c.dylibabort+1403libc++abi.dylib__cxa_bad_cast+04libc++abi.dylibstd::__terminate(void(*)())+445libc++abi.dylib__cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code,_Unwind_Exception*)6libobjc.A.dylib_objc_
我有一个包含数据的数组,因为在通过firebase获取数据时,有时数据会以正确的顺序出现,而有时则随机出现。因此,需要使用排序方法对我的本地数组进行排序来自snapshot.value的响应:Optional({Images={"-KmRCabAyzoVNMD06Hpr"={UploadTime=1497269431993;imageUrl="https://firebasestorage.googleapis.com/v0/b/mychat-1147d.appspot.com/o/Images%2FwRHmnmfu3CeqXa77YgHEWVXI1AI3%2F518962226641
我想通知同一“房间”中的用户进行更改。场景:我有匿名设备,其id保存了一个名称。我有具有唯一ID和名称的房间。我根据设备ID和房间ID在它们之间建立了联系。看起来像这样:在同一个key下链接的设备室“表”中的每个设备都应该被通知。当该键下的数据更改时。但现在我没有得到的部分。我想在devicesrooms键下获取每个设备的设备名称。是的,我也想在名称更改时获得更新。我怎样才能通过授权等来做到这一点?我现在有将所有这些数据写入数据库的基本代码:varref:DatabaseReference!=Database.database().reference()ref.child("devic
我刚刚将FirebasePerformance添加到我的主要是Obj-C并且具有Firebase(Core+Analytics+Messaging+Config)我在文档中读到:PerformanceMonitoringdoesnotsupportnetworkrequestsmadeusingtheNSURLConnectionclass.然而,出乎意料的是应用程序在第一次调用NSURL*时崩溃了例如我正在使用一个名为“Harpy”的库,它在AppStore中检查应用程序的新版本并在此处崩溃:NSURLSession*session=[NSURLSessionsharedSessio
我所说的一切都适用于ios9及更高版本。Firebase文档说:WhenauseropensoneofyourDynamicLinks,ifyourappisn'tyetinstalled,theuserissenttothePlayStoreorAppStoretoinstallyourapp(unlessyouspecifyotherwise),andyourappopens.Youcanthenretrievethelinkthatwaspassedtoyourappandhandlethelinkasappropriateforyourapp.我成功地通过FB-link安装了我
从iOS11开始,我一直看到这种崩溃:1libdispatch.dylib_dispatch_sync_wait+631922MediaToolboxvideoQueueRemote_Invalidate+59843763MediaToolboxvideoQueueRemote_Invalidate+59843764MediaToolboxvideoQueueRemote_Finalize+59848285CoreMediaFigBaseObjectFinalize+473006CoreFoundation_CFRelease+9631767AVFoundation-[AVSample
我正在使用FirebaseCloudMessaging向许多iOS应用程序发送推送消息。我的FCM设置包含一个Firebase项目和多个Firebase应用程序:FBProjectApp1AndroidApp1iOSApp2AndroidApp2iOS...现在的问题是,发送到我的一个iOS应用程序的FCM消息最终被另一个iOS应用程序接收(发送到App1iOS-App2iOS获取消息)。为了调试这个问题,我遵循了这个优秀的调试指南:https://firebase.googleblog.com/2017/01/debugging-firebase-cloud-messaging-on