Skip to content

Instantly share code, notes, and snippets.

@j03m
Created November 6, 2015 13:43
Show Gist options
  • Save j03m/a6a7bda547f4cdc0cdd4 to your computer and use it in GitHub Desktop.
Save j03m/a6a7bda547f4cdc0cdd4 to your computer and use it in GitHub Desktop.
react native process batch message
{
"arguments":[
[
{
"module":"BatchedBridge",
"method":"invokeCallbackAndReturnFlushedQueue",
"args":[
3,
[
null,
[
[
"__DEV_WARNINGS_IGNORED",
null
]
]
]
]
},
{
"module":"BatchedBridge",
"method":"invokeCallbackAndReturnFlushedQueue",
"args":[
4,
[
{
"app_state":"active"
}
]
]
},
{
"module":"BatchedBridge",
"method":"invokeCallbackAndReturnFlushedQueue",
"args":[
1,
[
0
]
]
},
{
"module":"BatchedBridge",
"method":"callFunctionReturnFlushedQueue",
"args":[
"RCTDeviceEventEmitter",
"emit",
[
"networkDidChange",
{
"network_info":"wifi"
}
]
]
},
{
"module":"BatchedBridge",
"method":"callFunctionReturnFlushedQueue",
"args":[
"AppRegistry",
"runApplication",
[
"AwesomeProject",
{
"rootTag":1,
"initialProps":{
}
}
]
]
},
{
"module":"BatchedBridge",
"method":"callFunctionReturnFlushedQueue",
"args":[
"JSTimersExecution",
"callTimers",
[
[
1
]
]
]
}
]
],
"moduleMethod":"processBatch",
"method":"executeJSCall",
"id":10003,
"moduleName":"BatchedBridge"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment