From 24b8fd88360724683df1db83a40cb1bd5cf2bc57 Mon Sep 17 00:00:00 2001 From: Ivan Grce Date: Fri, 7 Jun 2019 10:29:19 +0200 Subject: [PATCH 1/3] [android] use appcompat as transitive dependency --- BlinkID/src/android/libBlinkID.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BlinkID/src/android/libBlinkID.gradle b/BlinkID/src/android/libBlinkID.gradle index 23683ad..697dbf0 100644 --- a/BlinkID/src/android/libBlinkID.gradle +++ b/BlinkID/src/android/libBlinkID.gradle @@ -5,9 +5,8 @@ repositories { } dependencies { - implementation "com.android.support:appcompat-v7:27.1.1" implementation('com.microblink:blinkid:4.9.0@aar') { - transitive = false + transitive = true } } From 8e83b9043077584769dfdf9b1327771ec605d972 Mon Sep 17 00:00:00 2001 From: Ivan Grce Date: Fri, 7 Jun 2019 10:29:53 +0200 Subject: [PATCH 2/3] [cordova sample] updated script to use cordova android v8 --- initCordovaDemoApp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initCordovaDemoApp.sh b/initCordovaDemoApp.sh index 0a8c2c1..15a1771 100755 --- a/initCordovaDemoApp.sh +++ b/initCordovaDemoApp.sh @@ -19,7 +19,7 @@ cd $APP_NAME cordova plugin add ../BlinkID --variable CAMERA_USAGE_DESCRIPTION="Camera permission is required for automated scanning" # add ios and android support to the project -cordova platform add android@7 +cordova platform add android@8 cordova platform add ios # copy content of the www folder From f547b54f7a969160f93fe28568131c9ac59fd293 Mon Sep 17 00:00:00 2001 From: Ivan Grce Date: Fri, 7 Jun 2019 10:30:23 +0200 Subject: [PATCH 3/3] [ionic sample] fixed script and use cordova android v8 --- initIonicDemoApp.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/initIonicDemoApp.sh b/initIonicDemoApp.sh index c82ac46..7cd022f 100755 --- a/initIonicDemoApp.sh +++ b/initIonicDemoApp.sh @@ -12,24 +12,24 @@ ionic start $APP_NAME blank --no-link # enter into demo project folder cd $APP_NAME -# change the name and id of the application -sed -i "" "s/io.ionic.starter/$APP_ID/" config.xml -sed -i "" "s/MyApp/$APP_NAME/" config.xml - # add the BlinkID plugin ionic cordova plugin add ../BlinkID # add ios and android support to the project -ionic cordova platform add android@7 +ionic cordova platform add android@8 ionic cordova platform add ios +# build app +ionic build + +# change the name and id of the application +sed -i "" "s/io.ionic.starter/$APP_ID/" config.xml +sed -i "" "s/MyApp/$APP_NAME/" config.xml + # copy content of the www folder cp -f -r ../www/index.html ./src/ cp -f -r ../www/js ./www/ -# build app -ionic build - # how to run echo "To run iOS demo application open Xcode project $APP_NAME.xcodeproj" echo "To run Android demo application, position to $APP_NAME folder and type: ionic cordova run android" \ No newline at end of file