我最近开始与本机反应。Web应用程序已经在开发中。Web开发人员正在使用superagent进行Ajax调用,我们想重用大多数Web应用程序代码,所以我想知道是否可以将superagent与react-native一起使用。我进行了很少的搜索,发现了2015年的一些github帖子。https://github.com/facebook/react-native/issues/370。任何人都可以分享至高无上和反应-本机组合的经验
我正在获取Android 8的崩溃报告,但找不到原因或解决方法:
java.lang.IllegalArgumentException: Given work is not active: JobWorkItem{id=1 intent=Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=com.xxx.android cmp=com.xxx.android/com.pushio.manager.PushIOGCMIntentService (has extras) } dcount=1}
at android.app.job.JobParameters.completeWork(JobParameters.java:221)
at android.support.v4.app.JobIntentService$JobServiceEngineImpl$WrapperWorkItem.complete(JobIntentService.java:267)
at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:393)
at android.support.v4.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:382)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
Run Code Online (Sandbox Code Playgroud)
我正在使用PushIO lib进行推送通知。