xuexiangjys / react-native-xupdate

A React-Native plugin for XUpdate(Android Version Update Library)
Apache License 2.0
53 stars 20 forks source link

XUpdate.updateByInfo [Error: updateContent] #9

Closed fangx4 closed 4 years ago

fangx4 commented 4 years ago

Error: updateContent promiseMethodWrapper@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2242:45 updateByInfo@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:221020:44 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:129711:58 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:123096:27 tryCallOne@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27031:16 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27132:27 _callTimer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30571:17 _callImmediatesPass@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30610:17 callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30827:33 callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2736:35 http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2522:34 guard@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2719:15 flushedQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2521:21 flushedQueue@[native code] invokeCallbackAndReturnFlushedQueue@[native code]

fangx4 commented 4 years ago

{ "hasUpdate": true, "versionCode": 101, "versionName": "v1.0.1", "updateLog": "xxxxx", "downloadUrl": "https:\/\/xxxx/xxx.apk", "isIgnorable": false, "apkSize": 35680341 }

fangx4 commented 4 years ago

.....
"updateLog": "xxxxx" => "updateContent":'xxx'