Logs from using the camera with the image picker package flutter - ios

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).

Related

SwiftUI app does not run Tasks after haptics engine error

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.

Only iOS doesn't connect to firebase

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.

iOS Not playing some Videos - CoreMediaErrorDomain Code=-12939

I am using CTVideoView to playback videos inside a UITableView in iOS. As of late this was working fine, but for some reason, it seems as though the something has gone astray.
About 10% of the videos will play in the table, but many will simply just fail to play. The error occurs when iOS is trying to download the video as can be seen by the error messages below. For some reason, the error message is different in iOS 10 & 11 but the code is the same.
Based on iOS 10's message one would believe that the network is not available, but if I point my safari/chrome browser on the same iOS device it plays the video just fine.
As for the iOS 11 message, I have no idea where to even start as it the first time I've seen this message.
Any help at all would be much appreciated in resolving this.
iOS 10 Error Message
FAILED TO PREPARE VIDEO WITH ERROR: Error Domain=NSURLErrorDomain
Code=-1 "unknown error" UserInfo={NSLocalizedDescription=unknown
error,
NSErrorFailingURLStringKey=URLOBSCUREDFORPRIVACY,
NSErrorFailingURLKey=URLOBSCUREDFORPRIVACY,
NSURL=URLOBSCUREDFORPRIVACY,
NSUnderlyingError=0x17044bd00 {Error Domain=CoreMediaErrorDomain
Code=-12939 "CFNetwork error unavailable"
UserInfo={NSDescription=CFNetwork error unavailable,
NSURL=URLOBSCUREDFORPRIVACY}}}
iOS 11 Error Message
FAILED TO PREPARE VIDEO WITH ERROR: Error Domain=NSURLErrorDomain
Code=-1 "unknown error" UserInfo={NSUnderlyingError=0x1c08483d0 {Error
Domain=CoreMediaErrorDomain Code=-12939 "content range mismatch -
should be start 0 length 1247166 is start 0 length 1048575"
UserInfo={NSDescription=content range mismatch - should be start 0
length 1247166 is start 0 length 1048575,
NSURL=URLOBSCUREDFORPRIVACY}},
NSErrorFailingURLStringKey=URLOBSCUREDFORPRIVACY,
NSErrorFailingURLKey=URLOBSCUREDFORPRIVACY,
NSURL=URLOBSCUREDFORPRIVACY,
NSLocalizedDescription=unknown error}
Update (Possible Clue)
So after some testing I've narrowed it down to videos longer than or equal to 10 seconds. In all other circumstances the video will play.
I have resolved the issue. The issue was with ParseServer and the fact that it could not stream videos to iOS as it does not come out of the box with byte-range headers configured.
The solution was to implement the GridStoreAdapter into the server and from there migrate file storage to S3 or GCS (depending on your preference). This will need to be done alongside the respective adapter for your service.
Once that was done, the app started behaving correctly again.

iOS: KinesisEventRecorder without connection

Hi I am working with AWS Mobile SDK for iOS.
I am tracking some data with KinesisEventRecorder.
When the device has not connection I get this error:
AWSiOSSDK v2.4.2 [Error] AWSURLSessionManager.m line:211 | -[AWSURLSessionManager URLSession:task:didCompleteWithError:] | Session task failed with error: Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline.
I know that this framework continue to keep data also without connection, but when the connection come back it seems send nothing.
Is there some properties to setting?

Logging into GameCenter fails in iOS9 (Unity)

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()

Resources