1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

add arm64 and x86_64

This commit is contained in:
sunnylqm 2019-04-15 17:49:15 +08:00
parent 453a861302
commit f6ad543854
7 changed files with 20 additions and 1 deletions

1
.gitignore vendored

@ -4,6 +4,7 @@
/react-native-pushy-cli/node_modules
/react-native-pushy-cli/lib
/android/build
/android/obj
*.iml
# OSX

17
android/jni/Android.mk Normal file

@ -0,0 +1,17 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := rnupdate
LOCAL_SRC_FILES := \
DownloadTask.c \
blocksort.c \
bspatch.c \
bzlib.c \
crctable.c \
compress.c \
decompress.c \
huffman.c \
randtable.c
include $(BUILD_SHARED_LIBRARY)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
android/lib/x86_64/librnupdate.so Executable file

Binary file not shown.

@ -1,10 +1,11 @@
{
"name": "react-native-update",
"version": "5.1.6",
"version": "5.1.7",
"description": "react-native hot update",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build-lib": "$ANDROID_HOME/ndk-bundle/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_LIBS_OUT=android/lib",
"prepare": "node_modules/.bin/babel local-cli/src --out-dir local-cli/lib"
},
"repository": {