Coder Social home page Coder Social logo

ios 11.4 闪退 about react-native-recording HOT 4 OPEN

qiuxiang avatar qiuxiang commented on May 27, 2024
ios 11.4 闪退

from react-native-recording.

Comments (4)

MaJun0007 avatar MaJun0007 commented on May 27, 2024

虚拟机不会。真机会闪退

from react-native-recording.

qiuxiang avatar qiuxiang commented on May 27, 2024

iOS?Android?错误日志?

from react-native-recording.

MaJun0007 avatar MaJun0007 commented on May 27, 2024

ios 刚用rn不知道你指的日志是不是这个

2018-07-27 18:59:17.765 [info][tid:main][RCTCxxBridge.mm:210] Initializing <RCTCxxBridge: 0x1c41d4a00> (parent: <RCTBridge: 0x1c00c8110>, executor: (null))
2018-07-27 18:59:17.784 [warn][tid:main][RCTBridge.m:119] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2018-07-27 18:59:17.805 [warn][tid:main][RCTModuleData.mm:67] Module RCTImageLoader requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-07-27 18:59:17.821 [info][tid:main][RCTRootView.m:293] Running application himiGuitarApp ({
initialProps = {
};
rootTag = 1;
})
2018-07-27 18:59:17.835 [info][tid:main][RCTCxxBridge.mm:917] Invalidating <RCTCxxBridge: 0x1c41d4a00> (parent: <RCTBridge: 0x1c00c8110>, executor: RCTWebSocketExecutor)
2018-07-27 18:59:17.836 [info][tid:main][RCTCxxBridge.mm:210] Initializing <RCTCxxBridge: 0x1c41d5180> (parent: <RCTBridge: 0x1c00c8110>, executor: RCTWebSocketExecutor)
2018-07-27 18:59:17.836 [warn][tid:main][RCTModuleData.mm:67] Module RCTImageLoader requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-07-27 18:59:34.160 [info][tid:main][RCTRootView.m:293] Running application himiGuitarApp ({
initialProps = {
};
rootTag = 11;
})

Main Thread Checker: UI API called on a background thread: -[UIApplication setIdleTimerDisabled:]
PID: 1051, TID: 375792, Thread name: (none), Queue name: com.facebook.react.IdleTimerManagerQueue, QoS: 0
Backtrace:
4 himiGuitarApp 0x0000000100d0c870 -[IdleTimerManager setIdleTimerDisabled:] + 100
5 CoreFoundation 0x0000000184da2580 + 144
6 CoreFoundation 0x0000000184c81748 + 284
7 CoreFoundation 0x0000000184c8656c + 60
8 himiGuitarApp 0x0000000100b084c8 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2064
9 himiGuitarApp 0x0000000100bb2c50 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 664
10 himiGuitarApp 0x0000000100bb27e0 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 132
11 himiGuitarApp 0x0000000100bb2750 ___ZN8facebMessage from debugger: Terminated due to signal 9

from react-native-recording.

MaJun0007 avatar MaJun0007 commented on May 27, 2024

ios 11.4
使用你的例子就可以获取麦克分权限,我的APP就没有获取权限情况下直接闪退,如果运行你的例子后,由于允许访问麦克风,我的APP就可以运行,我觉得是npm包里获取麦克风权限问题

以下是直接闪退日志
2018-07-30 15:03:55.715 [info][tid:main][RCTCxxBridge.mm:210] Initializing <RCTCxxBridge: 0x1c01c0ff0> (parent: <RCTBridge: 0x1c00d4890>, executor: (null))
2018-07-30 15:03:55.746 [warn][tid:main][RCTBridge.m:119] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2018-07-30 15:03:55.780 [warn][tid:main][RCTModuleData.mm:67] Module RCTImageLoader requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-07-30 15:03:55.805 [info][tid:main][RCTRootView.m:293] Running application himiGuitarApp ({
initialProps = {
};
rootTag = 1;
})
2018-07-30 15:04:00.218 [info][tid:com.facebook.react.JavaScript] Running application "himiGuitarApp" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF
2018-07-30 15:04:00.334 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
2018-07-30 15:04:00.340 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
2018-07-30 15:04:00.346 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
2018-07-30 15:04:00.351 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
2018-07-30 15:04:01.506 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
2018-07-30 15:04:01.527 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
2018-07-30 15:04:01.554 [warn][tid:com.facebook.react.JavaScript] Warning: isMounted(...) is deprecated in plain JavaScript React classes. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.
Message from debugger: Terminated due to signal 9

from react-native-recording.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.