Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background configuration throwing error #178

Open
praveenprogressive opened this issue Dec 11, 2021 · 0 comments
Open

background configuration throwing error #178

praveenprogressive opened this issue Dec 11, 2021 · 0 comments

Comments

@praveenprogressive
Copy link

praveenprogressive commented Dec 11, 2021

Exception 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient) || _CFMZEnabled()' was thrown while invoking configure on target RNLocation with params (
{
activityType = fitness;
allowsBackgroundLocationUpdates = 1;
desiredAccuracy = {
android = highAccuracy;
ios = best;
};
distanceFilter = 10;
fastestInterval = 3000;
headingFilter = 0;
headingOrientation = portrait;
interval = 1000;
maxWaitTime = 1000;
pausesLocationUpdatesAutomatically = 0;
showsBackgroundLocationIndicator = 1;
}
)
callstack: (
0 CoreFoundation 0x00000001104dcbb4 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x000000010c945be7 objc_exception_throw + 48
2 Foundation 0x000000010e24ac12 userInfoForFileAndLine + 0
3 CoreLocation 0x000000010c4098eb CLClientStopVehicleHeadingUpdates + 34828
4 SiloKeeper 0x0000000100b4e84a -[RNLocation configure:] + 922
5 CoreFoundation 0x00000001104e347c invoking
+ 140
6 CoreFoundation 0x00000001104e0872 -[NSInvocation invoke] + 305
7 CoreFoundation 0x00000001104e0b05 -[NSInvocation invokeWithTarget:] + 70
8 SiloKeeper 0x000000010082c6d7 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2599
9 SiloKeeper 0x0000000100830c1c _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1436
10 SiloKeeper 0x00000001008304ae _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 158
11 SiloKeeper 0x0000000100830409 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25
12 libdispatch.dylib 0x0000000111798a28 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x0000000111799c0c _dispatch_client_callout + 8
14 libdispatch.dylib 0x00000001117a060f _dispatch_lane_serial_drain + 858
15 libdispatch.dylib 0x00000001117a12fe _dispatch_lane_invoke + 436
16 libdispatch.dylib 0x00000001117ad59b _dispatch_workloop_worker_thread + 900
17 libsystem_pthread.dylib 0x000000011279445d _pthread_wqthread + 314
18 libsystem_pthread.dylib 0x000000011279342f start_wqthread + 15
)

RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread

Simulator Screen Shot - iPhone 11 - 2021-12-12 at 04 07 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant