Prussich
Prussich
Just fix in the source code index.js In function stopBackgroundTimer() replace: clearTimeout(this.backgroundTimer); to this.clearTimeout(this.backgroundTimer); it worked for me. Tested in iOS. Not in Android. Author please correct the code.
Hi @manuquentin , I added some code to onMessageReceived(RemoteMessage message) in RNFirebaseMessagingService.js: ```JS PowerManager pm = (PowerManager) this.getApplicationContext().getSystemService(POWER_SERVICE); int flags=PowerManager.SCREEN_BRIGHT_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP | PowerManager.ON_AFTER_RELEASE; PowerManager.WakeLock sCpuWakeLock = pm.newWakeLock(flags, "com.test:PushWakeUp"); sCpuWakeLock.acquire();...
@manuquentin I left the phone for a long time (all night). I woke up and started calling the application - no reaction. Apparently besides idle, the device and the app...
Hi @renefs Because one of the alerts of some other permissions prevents it from opening CallKeep's alert (activity doesn't exist). Just check permissions that you call and do the RNCallKeep.setup(options)...
@renefs This code worked for me. But I think that in your case, the app is trying to show alert and there is no activity.
@danjenkins also to emit UUID data of active CallKit call (for example, to update the incoming call display). Because RN doesn't know the current UUID call after the bridge is...
@manuquentin As I see it: 1) App wake up after receive VoIP-Push. 2) App calling reportNewIncomingCall from VoIP-push delegate (as quickly, as Apple asks) ``` ... NSString *uuid = [[[NSUUID...
@manuquentin I also try to listen to the events at the very beginning of the loading of my app: At the top of index.ios.js: ``` const onAnswerCallAction = ({callUUID}) =>...
Good idea! But it work around for the **outgoing call** (RNCallKeepDidReceiveStartCallAction event). I 'll try to make the same implementation with the timeout for **incoming calls** for the RNCallKeepDidDisplayIncomingCall event...
You need to patch RN module RCTTiming.m: ``` - (void)setBridge:(RCTBridge *)bridge { ... if([[UIApplication sharedApplication] applicationState]!=UIApplicationStateActive){ _inBackground =YES; }else{ _inBackground = NO; } ... [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(proximityChanged) name:UIDeviceProximityStateDidChangeNotification object:nil];...