|
|
@@ -30,6 +30,10 @@
|
|
|
|
|
|
#import <Bugly/Bugly.h>
|
|
|
|
|
|
+#ifdef DEBUG
|
|
|
+#import <DoraemonKit/DoraemonManager.h>
|
|
|
+#endif
|
|
|
+
|
|
|
|
|
|
@import JitsiMeetSDK;
|
|
|
|
|
|
@@ -88,6 +92,14 @@
|
|
|
[session setCategory:AVAudioSessionCategoryPlayAndRecord mode:AVAudioSessionModeVoiceChat options:AVAudioSessionCategoryOptionAllowBluetooth | AVAudioSessionCategoryOptionAllowBluetoothA2DP | AVAudioSessionCategoryOptionAllowAirPlay error:nil];
|
|
|
[session setActive:YES error:nil];
|
|
|
|
|
|
+
|
|
|
+#ifdef DEBUG
|
|
|
+ //默认
|
|
|
+ [[DoraemonManager shareInstance] install];
|
|
|
+ // 或者使用传入位置,解决遮挡关键区域,减少频繁移动
|
|
|
+ //[[DoraemonManager shareInstance] installWithStartingPosition:CGPointMake(66, 66)];
|
|
|
+ #endif
|
|
|
+
|
|
|
return YES;
|
|
|
}
|
|
|
|