我在Google上搜索了很多,但没有一个发现与我的情况相符:
[SAME CODE在调试和发行中如何可能以不同的方式工作,为什么?使用了不同的JS Core?
[UPD]catlog显示pouchdb复制的问题:
{ [Error]
10-19 08:55:39.157 22836 22855 I ReactNativeJS: line: 132,
10-19 08:55:39.157 22836 22855 I ReactNativeJS: column: 7285,
10-19 08:55:39.157 22836 22855 I ReactNativeJS: sourceURL: 'index.android.bundle',
10-19 08:55:39.157 22836 22855 I ReactNativeJS: result:
10-19 08:55:39.157 22836 22855 I ReactNativeJS: { ok: false,
10-19 08:55:39.157 22836 22855 I ReactNativeJS: start_time: '2019-10-19T05:55:38.997Z',
10-19 08:55:39.157 22836 22855 I ReactNativeJS: docs_read: 0,
10-19 08:55:39.157 22836 22855 I ReactNativeJS: docs_written: 0,
10-19 08:55:39.157 22836 22855 I ReactNativeJS: doc_write_failures: 0,
10-19 08:55:39.157 22836 22855 I ReactNativeJS: errors: [],
10-19 08:55:39.157 22836 22855 I ReactNativeJS: status: 'aborting',
10-19 08:55:39.157 22836 22855 I ReactNativeJS: end_time: '2019-10-19T05:55:39.155Z',
10-19 08:55:39.157 22836 22855 I ReactNativeJS: last_seq: 0 } }
在同一设备上的调试中效果很好。怎么样?
您可以附加logcat的日志吗?这将为正在发生的事情提供线索。