diff --git a/SampleFiles/index.js b/SampleFiles/index.js index 5e07842..25813d9 100644 --- a/SampleFiles/index.js +++ b/SampleFiles/index.js @@ -20,7 +20,7 @@ const licenseKey = Platform.select({ // iOS license key for applicationID: com.microblink.sample ios: 'sRwAAAEVY29tLm1pY3JvYmxpbmsuc2FtcGxl1BIcP+dpSuS/38LVOOaNNacdy5kvOjARlS+ZYUJequcG+Hqo27AnV1Dsb+chCYtaeZSdPijWBCYJ51tohlnyZoEVBy/6a1OH/bRSNy8cPbh6GEjWK5XsLOJGggpwhNMoId3hXJpEJisHYvwiArC5tvWBUZzgr5rmupFObXTd67RaHytuIBa1ENEiLqT9RRHho05ftVuEcfE0Qk/eKv1vbL+LyowK80VS2pZNoOCd/g8K7iHW5XhGdeCqu0C7izVQ+kROfheTZf8I', // android license key for applicationID: com.microblink.sample - android: 'sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdf5ZkGlTu9W3OPtHZuoNGKKjVJCtgeTniIreKYHlm+vSvgCWTIaeV3b/8PTI1MaUdu55ajYYbb1bNxTKMsPqTbYuXP3HyEjcZqoPC6g4fGVkCtqhecMtUG9FOSsPTWEXIrF8nHVYFmHZcMcasXB6h5u5YwXeIEh1IxrFkq3DFizEuuTWPsRs5iXdxPtTFUFR+1k2J64h88wGuTYLW696bYgSqBmH5p0v36roZC+U+VcKfmWm9Y5+mJvoHyi3fRn/DtK9lMkK' + android: 'sRwAAAAVY29tLm1pY3JvYmxpbmsuc2FtcGxlU9kJdf5ZkGlTu9W3OMtlz473rOYXXInzJ8snv7nxCLN17zjcm+suA4KjMpE2dFZXWX8BduxrLbWtOYVI7H3P3lFjc30uqRa8ikxwUJM+6JuKs1dLFNQw80KBHE3OymtkC0tpOKtNbEZzzlpJSjZn8AfP2PofMEuJvM3tohOnYAtGIY6tNG4k4pMivgzZF4C6FfhlV/h5PJKcwxlYWUEIUUc5yzzsYyNApK/dvRHpdPHaup1XJML8nTQjvXTAkiuiIjMRdQ/9Uew=' }) var renderIf = function(condition, content) { diff --git a/initReactNativeSampleApp.sh b/initReactNativeSampleApp.sh index 47d7342..73e48f0 100755 --- a/initReactNativeSampleApp.sh +++ b/initReactNativeSampleApp.sh @@ -37,9 +37,13 @@ pushd android perl -i~ -pe "BEGIN{$/ = undef;} s/maven \{/maven \{ url 'https:\\/\\/maven.microblink.com' }\n maven {/" build.gradle # change package name +# adb uninstall "com.microblink.sample" mkdir -p app/src/main/java/com/microblink/sample +mkdir -p app/src/debug/java/com/microblink/sample mv app/src/main/java/com/sampleapp/* app/src/main/java/com/microblink/sample/ +mv app/src/debug/java/com/sampleapp/* app/src/debug/java/com/microblink/sample/ rmdir app/src/main/java/com/sampleapp +rmdir app/src/debug/java/com/sampleapp grep -rl com.sampleapp . | xargs sed -i '' s/com.sampleapp/com.microblink.sample/g ./gradlew clean