File tree Expand file tree Collapse file tree 4 files changed +0
-34
lines changed
react-native-sdk/src/utils/StreamVideoRN Expand file tree Collapse file tree 4 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -489,23 +489,6 @@ - (NSString *)getIncomingCallErrorCode:(NSError *)error {
489489 }
490490}
491491
492- // - (void)setup:(NSDictionary *)options {
493- // #ifdef DEBUG
494- // NSLog(@"[Callingx][setup] options = %@", options);
495- // #endif
496- // _version = [[[NSProcessInfo alloc] init] operatingSystemVersion];
497- // self.callKeepCallController = [[CXCallController alloc] init];
498- //
499- // [Settings setSettings:options];
500- //
501- // [Callingx initCallKitProvider];
502- // [Callingx initUUIDStorage];
503- //
504- // self.callKeepProvider = sharedProvider;
505- // [self.callKeepProvider setDelegate:nil queue:nil];
506- // [self.callKeepProvider setDelegate:self queue:nil];
507- // }
508-
509492#pragma mark - Turbo module methods
510493
511494- (void )setupiOS : (JS::NativeCallingx::SpecSetupiOSOptions &)options {
Original file line number Diff line number Diff line change @@ -50,12 +50,6 @@ class EventManager {
5050 this . subscription ?. remove ( ) ;
5151 this . subscription = null ;
5252 }
53-
54- console . log (
55- '!!! remove listener' ,
56- this . listenersCount ,
57- this . subscription === null ? 'null' : 'not null'
58- ) ;
5953 }
6054}
6155
Original file line number Diff line number Diff line change @@ -117,13 +117,3 @@ export const requestPostNotificationPermissions =
117117 results === PermissionsAndroid . RESULTS . GRANTED || allowedPostNotifications
118118 ) ;
119119 } ;
120-
121- export const canPostNotifications = async ( ) : Promise < boolean > => {
122- if ( Platform . OS !== 'android' ) {
123- return true ;
124- }
125-
126- return PermissionsAndroid . check (
127- PermissionsAndroid . PERMISSIONS . POST_NOTIFICATIONS
128- ) ;
129- } ;
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ export class StreamVideoRN {
131131 }
132132
133133 static setupCallingExp ( options : CallingxOptions ) {
134- //check if calling exp pacakge is installed
135134 const callingx = getCallingxLib ( ) ;
136135 callingx . setup ( options ) ;
137136 callingx . checkPermissions ( ) . catch ( ( error ) => {
You can’t perform that action at this time.
0 commit comments