Firebase connects well in android, but not in ios.
What is my problem?
below is my Xcode error messages.
2019-07-08 11:26:49.743456+0900 bullet3[327:12544] Metal GPU Frame Capture Enabled
2019-07-08 11:26:49.743667+0900 bullet3[327:12544] Metal API Validation Disabled
2019-07-08 11:26:50.043708+0900 bullet3[327:12544] [Warning] Trying to set delaysTouchesBegan to NO on a system gate gesture recognizer - this is unsupported and will have undesired side effects
2019-07-08 11:26:50.169842+0900 bullet3[327:12690] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2019-07-08 11:26:50.172212+0900 bullet3[327:12690] [MC] Reading from public effective user settings.
2019-07-08 11:26:50.190773+0900 bullet3[327:12690] - <AppMeasurement>[I-ACS025026] Deferring to Firebase for event data collection
2019-07-08 11:26:50.201582+0900 bullet3[327:12690] [NetworkInfo] Could not successfully update network info for descriptor <CTServiceDescriptor 0x283191d20, domain=1, instance=2> during initialization.
2019-07-08 11:26:50.203025+0900 bullet3[327:12690] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x283191d40, domain=1, instance=1>
2019-07-08 11:26:50.203389+0900 bullet3[327:12690] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x283191d20, domain=1, instance=2>
-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A12 GPU
Initialize engine version: 2018.3.12f1 (8afd630d1f5b)
CrashReporter: No pending report exists at /var/mobile/Containers/Data/Application/47A757F8-CFBD-4618-82F6-545E62BB7E22/Library/Caches/CrashReports/crash-pending.plcrash=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 327, TID: 12804, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
for start iOS with firebase refer this link...
Link of connect firebase with iOS
You follow this link,
-> and register Your App using Bundle ID in Firebase.
-> and then follow steps and download .plist file and add in Your Project and add Client Reverse ID from this Plist file in to your Target -> select Your Project -> Info -> URL Types -> add Url -> Reverse Client ID and Bundle ID..
now You can connect your application with Firebase.
Related
I'm getting these logs when I opened the camera with the imagePicker and then last logs appear when I switch my app to the real camera app of the iOS device and then when I returned back to the camera in my app these logs appear. So I'm wondering what are these.
[heln] AVHapticClient.mm:446 -[AVHapticClient finish:]: ERROR: Player was not running - bailing with error Error Domain=com.apple. CoreHaptics Code=-4805 "(null)"
[Feedback] core haptics engine finished for <_UIFeedbackCoreHapticsIgnoreCaptureHapticsOnlyEngine: 0x281a14230> with error: Error Domain=com.apple. CoreHaptics Code=-4805 "(null)"
[heln] AVHapticClient.mm: 1207 - [AVHapticClient getAsyncDelegateForMethod: errorHandler: ]_block_invoke: ERROR: Async XPC call for 'prewarm:' (client ID 0x0) failed:Couldn't communicate with a helper application.
[hapi] CHHapticEngine.mm:1136 - [CHHapticEngine prewarmWithCompletionHandler:]_block_invoke: ERROR: Player prewarm failed: Couldn't communicate with a helper application.
[Feedback] failed to prewarm core haptics engine for <_UIFeedbackCoreHapticsIgnoreCaptureHapticsOnlyEngine: 0x281a14230>: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 36 named com.apple.audio.haptic was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 36 named com.apple.audio.haptic was invalidated from this process.}
[Camera] Attempted to change to mode Portrait with an unsupported device (BackAuto). Auto device for both positions unsupported, returning Auto device for same position anyway (BackAuto).
Sometimes, after the app is resumed from background it shows these messages in the log:
2022-03-23 19:16:53.423801+0000 AppName[15711:6706975] [hapi] CHHapticEngine.mm:595 -[CHHapticEngine createHapticPlayerWithOptions:]: ERROR: Server failure: Error Domain=com.apple.CoreHaptics Code=-4810 "(null)"
2022-03-23 19:16:53.424531+0000 AppName[15711:6706975] [Feedback] failed initializing core haptics engine for <_UIFeedbackCoreHapticsEngine: 0x282e115e0>: Error Domain=com.apple.CoreHaptics Code=-4810 "(null)"
(AppName is the name of the app)
After that it fails to run code in Task - I can see in the log that the Task is called but the code in it is never executed. The app only recovers after restart.
It may be relevant that the app runs background refresh couple of times before it happens.
Thank you for any help / suggestions.
So I followed google's GCM for iOS tutorial here but for some reason it wouldn't send notifications to my phone.
I successfully registered with GCM when it asked on my device and when I send the message via their demo, it says it was sent successfully but it unfortunately was never received.
2016-04-12 20:58:22.999 GcmExampleSwift[443:] App measurement v.2003000 started
2016-04-12 20:58:23.002 GcmExampleSwift[443:] To enable debug logging set the following application argument: -GMRDebugEnabled
2016-04-12 20:58:23.049: GCM | GCM library version 1.1.4
2016-04-12 20:58:23.221: GCM | GCM registration is not ready with auth credentials
Could not connect to GCM: The operation couldn’t be completed. (com.google.gcm error 501.)
2016-04-12 20:58:23.558 GcmExampleSwift[443:] App measurement enabled
2016-04-12 20:58:23.596: GGLInstanceID | Invalid last checkin timestamp in future.
2016-04-12 20:58:23.632: GGLInstanceID | Unable to find token in cache Error Domain=com.google.iid Code=-25300 "(null)"
2016-04-12 20:58:25.085: GCM | Invalid key in checkin plist: GMSInstanceIDDeviceDataVersion
Connected to GCM
2016-04-12 20:58:25.431: GGLInstanceID | Unable to find token in cache Error Domain=com.google.iid Code=-25300 "(null)"
Registration Token: XXXXXXXXXX
2016-04-12 20:58:26.578 GcmExampleSwift[443:62016] Subscribed to /topics/global
2016-04-12 20:58:38.731 GcmExampleSwift[443:] Fetched configuration. Status code: 200
2016-04-12 20:58:38.731 GcmExampleSwift[443:] Successful fetched configuration from the server. Got network response. code, size: 200, 124
I noticed there was the issue Invalid key in checkin plist: GMSInstanceIDDeviceDataVersion. I'm not really certain this is the ticket, but it's difficult to determine what the issue is exactly when GCM says everything was successful.
Thanks!
In a Unity project running on iPhones in iOS 9 I'm calling:
Social.localUser.Authenticate(ProcessAuthentication);
On a phone with all data cleared, this brings up Apple's dialogue to log into GameCenter. I enter an email address and password from an existing GameCenter test account. The dialogue seems to lock up for a few seconds. It then returns to the game, passing false (failure) to ProcessAuthentication.
When I try logging into the same account via the GameCenter settings menu, it brings up a Terms and Conditions screen that I wasn't getting in-game - I suspect that it's failing to bring it up and acting as though you refused to accept. If I complete the login process in settings I can run the game and GameCenter works fine.
This problem didn't occur in iOS 8.
Is this normal? Does anyone know if it can be fixed?
Edit:
Output message being printed:
Setting up 1 worker threads for Enlighten.
Thread->id: 40933000 -> priority: 1
2015-10-29 16:02:02:02.287 autowarriors[365:26287] plugin com.apple.GameCenterUI.GameCenterAuthenticateExension interrupted
2015-10-29 16:02:02:02.288 autowarriors[365:26233] plugin com.apple.GameCenterUI.GameCenterAuthenticateExension invalidated
2015-10-29 16:02:02:02.308 autowarriors[365:26220] viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo=(Message=Service Connection Interrupted)
Failed to authenticate
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
-> applicationWillResignActive()
I am testing WebRTC implementation with Apprtc demo for iOS
I am facing a issue where the fingerprint does not match in the local sdp we send.
Failed to set session description.
Error: Error Domain=RTCSDPError Code=-1 "The operation couldn’t be completed. (RTCSDPError error -1.)"
UserInfo=0x17466d480 {
error=Failed to set local answer
sdp: Failed to push down transport
description: Local fingerprint does not match identity.
Expected: sha-1 FB:05:7C:59:1A:57:A2:47:0D:E2:2A:02:D1:C6:21:F9:9B:9A:10:0E
Got: sha-1 92:1C:6B:E0:2F:CA:63:49:8C:F4:CC:C2:F4:B9:86:F5:D8:7F:56:CC}
Can you please suggest what might be the reason behind this issue or where to debug in Apprtc