Comments (4)
虚拟机不会。真机会闪退
from react-native-recording.
iOS?Android?错误日志?
from react-native-recording.
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.
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)
- iOS录音结束后播放音频声音很小 HOT 3
- Recorder cannot record more than 1 time if audio is played after recording (iOS) HOT 2
- QUESTION: How to create a file? HOT 1
- How to dump the audio samples to file to play with Audacity
- EXC_BAD_ACCESS code=257 on refresh
- Undefined is not an object (evaluating Recording.init) HOT 1
- warn The following packages use deprecated "rnpm" config that will stop working from next release:
- Not working on 0.62 HOT 5
- How to find real-time audio level HOT 1
- TypeError: null is not an object (evaluating "Recording.init") HOT 5
- EventListener not working once stop is called. HOT 1
- One more listener runs and its callback returns always zeros HOT 1
- TypeError: null is not an object (evaluating 'Recording.init') HOT 3
- How to reduce the size to 5.17 KiB/s?
- Native module cannot be null in IOS HOT 5
- does it show the wave animation while recording?? HOT 1
- How to save recording result to a file or server ?
- Callback not firing on iOS HOT 2
- How to enable listening in background?
- null is not an object (evaluating 'RNAudioRecord.init') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-recording.