diff --git a/.gitignore b/.gitignore index e1570506..ce225450 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ Notes.rtf /native_library_camera/ /firebase_frameworks12/ /firebase_frameworks11/ -/example-test \ No newline at end of file +/example-test +/example_mlkit \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0720f209..563ca469 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +### 0.13.0 +- AND: Updated to FreKotlin 1.40.0 +- iOS: Updated to FreSwift 4.5.0 +- AND: Analytics 17.5.0 +- AND: Crashlytics 17.1.1 +- AND: Firestore 21.5.0 +- AND: Remote Config 19.2.0 +- AND: Auth 19.3.2 +- AND: Play Services Auth 18.1.0 +- AND: Performance 19.0.8 +- AND: Messaging 20.2.4 +- AND: [Auth] - added `auth.signInWithCredential()` +- AND: [Auth] - added `auth.signInWithProvider()` +- AND: [Crashlytics] - now uses `FirebaseCrashlytics` API +- AND: [Vision] - Move Barcode to MLKitANE +- AND: [Vision] - Move Face Detection to MLKitANE +- AND: [Vision] - Move Label Detection to MLKitANE +- AND: [Vision] - Move Text Detection to MLKitANE +- AND: [Vision] - Move Natural Language to MLKitANE + ### 0.12.0 - Added OneSignal diff --git a/README.md b/README.md index ba1c10e6..8aabefbf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Adobe AIR + Firebase](firebaseane.png) -Firebase Adobe Air Native Extension for iOS 9.0+ and Android 19+. This project aims to provide an Open Source alternative to the commercially available FirebaseANEs +Firebase Adobe Air Native Extension for iOS 12.2+ and Android 19+. This project aims to provide an Open Source alternative to the commercially available FirebaseANEs ------------- @@ -24,14 +24,13 @@ on set-up and each of the FirebaseANEs. ## iOS -The latest version (0.12.0) is built against iOS 13.3 SDK and not currently working. +The latest version (0.13.0) is built against iOS 13.3 SDK and now working. +You must use a device with at least iOS 12.2 and set this as minimum version in you InfoAdditions -Please register your interest with HARMAN in getting this issue fixed!! - -https://github.com/Gamua/Adobe-Runtime-Support/issues/212 - -You may use the previous version (0.6.0) but be aware this means it cannot be used in conjunction with the latest -version of our other ANEs. You will need to use the one with FreSwift 3.1.0. +``` +MinimumOSVersion +12.2 +``` ## Issue Tracker @@ -59,17 +58,20 @@ Pull requests and contributions are welcome! This might entail: - [x] Remote Config - [x] Storage - [x] Google Sign In -- [x] One Signal +- [ ] One Signal (Android only, iOS tbc) - [x] Invites - [x] Crashlytics -* MLKit -- [x] Face -- [x] Barcode -- [x] Text + +* Vision - [x] Cloud Text - [x] Cloud Document -- [x] Label - [x] Cloud Label - [x] Landmark -- [x] Natural Language - [x] Model Interpreter + +* MLKit +- [ ] Face +- [ ] Barcode +- [ ] Text +- [ ] Label +- [ ] Natural Language diff --git a/example/.idea/libraries/AnalyticsANE.xml b/example/.idea/libraries/AnalyticsANE.xml deleted file mode 100644 index 8401e888..00000000 --- a/example/.idea/libraries/AnalyticsANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/AuthANE.xml b/example/.idea/libraries/AuthANE.xml deleted file mode 100644 index bb6106eb..00000000 --- a/example/.idea/libraries/AuthANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/CrashlyticsANE.xml b/example/.idea/libraries/CrashlyticsANE.xml deleted file mode 100644 index 5e1a8406..00000000 --- a/example/.idea/libraries/CrashlyticsANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/DynamicLinksANE.xml b/example/.idea/libraries/DynamicLinksANE.xml deleted file mode 100644 index 440223e0..00000000 --- a/example/.idea/libraries/DynamicLinksANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/FirebaseANE.xml b/example/.idea/libraries/FirebaseANE.xml deleted file mode 100755 index 8bba376f..00000000 --- a/example/.idea/libraries/FirebaseANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/FirestoreANE.xml b/example/.idea/libraries/FirestoreANE.xml deleted file mode 100644 index dc9f6080..00000000 --- a/example/.idea/libraries/FirestoreANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/GoogleSignInANE.xml b/example/.idea/libraries/GoogleSignInANE.xml deleted file mode 100644 index e8bd1430..00000000 --- a/example/.idea/libraries/GoogleSignInANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/MessagingANE.xml b/example/.idea/libraries/MessagingANE.xml deleted file mode 100644 index 60d16346..00000000 --- a/example/.idea/libraries/MessagingANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/OneSignalANE.xml b/example/.idea/libraries/OneSignalANE.xml deleted file mode 100644 index 34957719..00000000 --- a/example/.idea/libraries/OneSignalANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/PerformanceANE.xml b/example/.idea/libraries/PerformanceANE.xml deleted file mode 100644 index 8108e525..00000000 --- a/example/.idea/libraries/PerformanceANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/RemoteConfigANE.xml b/example/.idea/libraries/RemoteConfigANE.xml deleted file mode 100644 index 8ae0fa36..00000000 --- a/example/.idea/libraries/RemoteConfigANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/StorageANE.xml b/example/.idea/libraries/StorageANE.xml deleted file mode 100644 index 4ae6fd2c..00000000 --- a/example/.idea/libraries/StorageANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/android_dependencies.xml b/example/.idea/libraries/android_dependencies.xml new file mode 100644 index 00000000..d749728f --- /dev/null +++ b/example/.idea/libraries/android_dependencies.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/example/.idea/libraries/androidx_browser_browser_1_0_0.xml b/example/.idea/libraries/androidx_browser_browser_1_0_0.xml deleted file mode 100644 index 0952fd95..00000000 --- a/example/.idea/libraries/androidx_browser_browser_1_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/androidx_cardview_cardview_1_0_0.xml b/example/.idea/libraries/androidx_cardview_cardview_1_0_0.xml deleted file mode 100644 index bbee8d88..00000000 --- a/example/.idea/libraries/androidx_cardview_cardview_1_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/androidx_legacy_legacy_support_v4_1_0_0.xml b/example/.idea/libraries/androidx_legacy_legacy_support_v4_1_0_0.xml deleted file mode 100644 index a767cb58..00000000 --- a/example/.idea/libraries/androidx_legacy_legacy_support_v4_1_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_crashlytics_sdk_android_crashlytics_2_10_1.xml b/example/.idea/libraries/com_crashlytics_sdk_android_crashlytics_2_10_1.xml deleted file mode 100644 index d1883e56..00000000 --- a/example/.idea/libraries/com_crashlytics_sdk_android_crashlytics_2_10_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_android_gms_play_services_auth_17_0_0.xml b/example/.idea/libraries/com_google_android_gms_play_services_auth_17_0_0.xml deleted file mode 100644 index f63d37ea..00000000 --- a/example/.idea/libraries/com_google_android_gms_play_services_auth_17_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_android_gms_play_services_base_17_1_0.xml b/example/.idea/libraries/com_google_android_gms_play_services_base_17_1_0.xml deleted file mode 100644 index 3480e9c3..00000000 --- a/example/.idea/libraries/com_google_android_gms_play_services_base_17_1_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_android_gms_play_services_measurement_17_3_0.xml b/example/.idea/libraries/com_google_android_gms_play_services_measurement_17_3_0.xml deleted file mode 100644 index 64826e5f..00000000 --- a/example/.idea/libraries/com_google_android_gms_play_services_measurement_17_3_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_code_gson_gson_2_8_6.xml b/example/.idea/libraries/com_google_code_gson_gson_2_8_6.xml deleted file mode 100644 index a64833fb..00000000 --- a/example/.idea/libraries/com_google_code_gson_gson_2_8_6.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_analytics_17_3_0.xml b/example/.idea/libraries/com_google_firebase_firebase_analytics_17_3_0.xml deleted file mode 100644 index f6411b6e..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_analytics_17_3_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_auth_19_3_0.xml b/example/.idea/libraries/com_google_firebase_firebase_auth_19_3_0.xml deleted file mode 100644 index 36ad0464..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_auth_19_3_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_config_19_1_3.xml b/example/.idea/libraries/com_google_firebase_firebase_config_19_1_3.xml deleted file mode 100644 index 21206f7f..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_config_19_1_3.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_dynamic_links_19_1_0.xml b/example/.idea/libraries/com_google_firebase_firebase_dynamic_links_19_1_0.xml deleted file mode 100644 index f4bf9059..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_dynamic_links_19_1_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_iid_20_1_5.xml b/example/.idea/libraries/com_google_firebase_firebase_iid_20_1_5.xml deleted file mode 100644 index 4e0574f8..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_iid_20_1_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_messaging_20_1_5.xml b/example/.idea/libraries/com_google_firebase_firebase_messaging_20_1_5.xml deleted file mode 100644 index aef93183..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_messaging_20_1_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_perf_19_0_5.xml b/example/.idea/libraries/com_google_firebase_firebase_perf_19_0_5.xml deleted file mode 100644 index 6ea73a6e..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_perf_19_0_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_firebase_firebase_storage_19_1_1.xml b/example/.idea/libraries/com_google_firebase_firebase_storage_19_1_1.xml deleted file mode 100644 index 3612cbae..00000000 --- a/example/.idea/libraries/com_google_firebase_firebase_storage_19_1_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_google_guava_guava_28_1_android.xml b/example/.idea/libraries/com_google_guava_guava_28_1_android.xml deleted file mode 100644 index 1bce8a09..00000000 --- a/example/.idea/libraries/com_google_guava_guava_28_1_android.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_squareup_okhttp_okhttp_2_7_5.xml b/example/.idea/libraries/com_squareup_okhttp_okhttp_2_7_5.xml deleted file mode 100644 index d9cbc12d..00000000 --- a/example/.idea/libraries/com_squareup_okhttp_okhttp_2_7_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/com_tuarua_frekotlin_1_10_0.xml b/example/.idea/libraries/com_tuarua_frekotlin_1_10_0.xml deleted file mode 100644 index 535d098c..00000000 --- a/example/.idea/libraries/com_tuarua_frekotlin_1_10_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/libraries/extensions.xml b/example/.idea/libraries/extensions.xml new file mode 100644 index 00000000..82bd7aa9 --- /dev/null +++ b/example/.idea/libraries/extensions.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/example/.idea/libraries/org_greenrobot_eventbus_3_0_0.xml b/example/.idea/libraries/org_greenrobot_eventbus_3_0_0.xml deleted file mode 100644 index 38afa949..00000000 --- a/example/.idea/libraries/org_greenrobot_eventbus_3_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example/.idea/misc.xml b/example/.idea/misc.xml index 25e87e66..18781b16 100755 --- a/example/.idea/misc.xml +++ b/example/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/example/FirebaseANESample-mobile.iml b/example/FirebaseANESample-mobile.iml index 868548ed..627081eb 100755 --- a/example/FirebaseANESample-mobile.iml +++ b/example/FirebaseANESample-mobile.iml @@ -8,104 +8,14 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -133,41 +43,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -192,11 +72,10 @@ - - + - + @@ -205,41 +84,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -263,9 +112,8 @@ - - + @@ -278,7 +126,7 @@ - + @@ -396,5 +244,19 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/native_extension/ane/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 b/example/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 rename to example/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 diff --git a/native_extension/ane/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore b/example/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore rename to example/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore diff --git a/native_extension/ane/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md b/example/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md rename to example/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md diff --git a/native_extension/ane/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 b/example/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 rename to example/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 diff --git a/native_extension/ane/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore b/example/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore rename to example/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore diff --git a/native_extension/ane/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md b/example/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md rename to example/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md diff --git a/native_extension/ane/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 b/example/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 rename to example/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 diff --git a/native_extension/ane/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore b/example/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore rename to example/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore diff --git a/native_extension/ane/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md b/example/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md similarity index 100% rename from native_extension/ane/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md rename to example/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md diff --git a/example/android_dependencies/README.md b/example/android_dependencies/README.md deleted file mode 100755 index fe65087f..00000000 --- a/example/android_dependencies/README.md +++ /dev/null @@ -1 +0,0 @@ -This folder will contain downloaded Android anes diff --git a/example/apply_firebase_config.bat b/example/apply_firebase_config.bat new file mode 100644 index 00000000..d8ff8f0b --- /dev/null +++ b/example/apply_firebase_config.bat @@ -0,0 +1,13 @@ +@echo off +SET pathtome=%~dp0 +SET SZIP="C:\Program Files\7-Zip\7z.exe" + +ren %pathtome%extensions\FirebaseANE.ane FirebaseANE.zip +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.xml +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.png +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.gif +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.jpg +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.mp3 +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.wav +call %SZIP% u %pathtome%extensions\FirebaseANE.zip -ir!META-INF\*.mp4 +ren %pathtome%extensions\FirebaseANE.zip FirebaseANE.ane \ No newline at end of file diff --git a/native_extension/ane/apply_firebase_config.sh b/example/apply_firebase_config.sh similarity index 90% rename from native_extension/ane/apply_firebase_config.sh rename to example/apply_firebase_config.sh index 3ad6c550..09d02000 100755 --- a/native_extension/ane/apply_firebase_config.sh +++ b/example/apply_firebase_config.sh @@ -16,7 +16,7 @@ function pack { filePathLen=${#file} subLen=filePathLen-pathLen-1 subStr=${file:pathLen+1:subLen} - zip "$pathtome/FirebaseANE.ane" "$subStr" + zip "$pathtome/extensions/FirebaseANE.ane" "$subStr" done } diff --git a/example/extensions/.gitignore b/example/extensions/.gitignore new file mode 100755 index 00000000..d7d33921 --- /dev/null +++ b/example/extensions/.gitignore @@ -0,0 +1,2 @@ +*.ane + diff --git a/example/get_android_dependencies.ps1 b/example/get_android_dependencies.ps1 index 41c00f4f..aa303797 100644 --- a/example/get_android_dependencies.ps1 +++ b/example/get_android_dependencies.ps1 @@ -1,38 +1,40 @@ -$AneVersion = "0.12.0" -$FreKotlinVersion = "1.10.0" -$PlayerServicesAuthVersion = "17.0.0" +$AneVersion = "0.13.0" +$FreKotlinVersion = "1.40.0" +$PlayerServicesAuthVersion = "18.1.0" $PlayerServicesBaseVersion = "17.1.0" -$PlayerServicesMeasurementVersion = "17.3.0" +$PlayerServicesMeasurementVersion = "17.5.0" $SupportV4Version = "1.0.0" -$AnalyticsVersion = "17.3.0" -$DynamicLinksVersion="19.1.0" -$IidVersion="20.1.5" +$AnalyticsVersion = "17.5.0" +$DynamicLinksVersion = "19.1.0" +$IidVersion="20.2.4" +$FirebaseComponentsVersion="16.0.0" $StorageVersion="19.1.1" -$PerfVersion="19.0.5" -$FirestoreVersion="21.4.2" -$MessagingVersion="20.1.5" -$ConfigVersion="19.1.3" -$AuthVersion="19.3.0" +$PerfVersion = "19.0.8" +$FirestoreVersion = "21.5.0" +$MessagingVersion = "20.2.3" +$ConfigVersion = "19.2.0" +$AuthVersion = "19.3.2" $EventBusVersion = "3.0.0" $GsonVersion = "2.8.6" $OkhttpVersion = "2.7.5" -$GuavaVersion="28.1-android" -$CrashlyticsVersion = "2.10.1" +$GuavaVersion = "28.1-android" +$CrashlyticsVersion = "17.1.1" $OneSignalVersion = "3.13.2" $currentDir = (Get-Item -Path ".\" -Verbose).FullName [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirebaseANE.ane?raw=true -OutFile "$currentDir\..\native_extension\ane\FirebaseANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AnalyticsANE.ane?raw=true -OutFile "$currentDir\..\native_extension\AnalyticsANE\ane\AnalyticsANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AuthANE.ane?raw=true -OutFile "$currentDir\..\native_extension\AuthANE\ane\AuthANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/DynamicLinksANE.ane?raw=true -OutFile "$currentDir\..\native_extension\DynamicLinksANE\ane\DynamicLinksANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirestoreANE.ane?raw=true -OutFile "$currentDir\..\native_extension\FirestoreANE\ane\FirestoreANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/MessagingANE.ane?raw=true -OutFile "$currentDir\..\native_extension\MessagingANE\ane\MessagingANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/PerformanceANE.ane?raw=true -OutFile "$currentDir\..\native_extension\PerformanceANE\ane\PerformanceANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/RemoteConfigANE.ane?raw=true -OutFile "$currentDir\..\native_extension\RemoteConfigANE\ane\RemoteConfigANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/StorageANE.ane?raw=true -OutFile "$currentDir\..\native_extension\StorageANE\ane\StorageANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/GoogleSignInANE.ane?raw=true -OutFile "$currentDir\..\native_extension\GoogleSignInANE\ane\GoogleSignInANE.ane" -Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/CrashlyticsANE.ane?raw=true -OutFile "$currentDir\..\native_extension\CrashlyticsANE\ane\CrashlyticsANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirebaseANE.ane?raw=true -OutFile "$currentDir\extensions\FirebaseANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AnalyticsANE.ane?raw=true -OutFile "$currentDir\extensions\AnalyticsANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AuthANE.ane?raw=true -OutFile "$currentDir\extensions\AuthANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/DynamicLinksANE.ane?raw=true -OutFile "$currentDir\extensions\DynamicLinksANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirestoreANE.ane?raw=true -OutFile "$currentDir\extensions\FirestoreANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/MessagingANE.ane?raw=true -OutFile "$currentDir\extensions\MessagingANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/PerformanceANE.ane?raw=true -OutFile "$currentDir\extensions\PerformanceANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/RemoteConfigANE.ane?raw=true -OutFile "$currentDir\extensions\RemoteConfigANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/StorageANE.ane?raw=true -OutFile "$currentDir\extensions\StorageANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/GoogleSignInANE.ane?raw=true -OutFile "$currentDir\extensions\GoogleSignInANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/CrashlyticsANE.ane?raw=true -OutFile "$currentDir\extensions\CrashlyticsANE.ane" +Invoke-WebRequest -Uri https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/OneSignalANE.ane?raw=true -OutFile "$currentDir\extensions\OneSignalANE.ane" Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.tuarua.frekotlin-$FreKotlinVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/kotlin/com.tuarua.frekotlin-$FreKotlinVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\org.greenrobot.eventbus-$EventBusVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/misc/org.greenrobot.eventbus-$EventBusVersion.ane?raw=true @@ -45,15 +47,16 @@ Invoke-WebRequest -OutFile "$currentDir\android_dependencies\androidx.browser.br Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.android.gms.play-services-base-$PlayerServicesBaseVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-base-$PlayerServicesBaseVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.android.gms.play-services-auth-$PlayerServicesAuthVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-auth-$PlayerServicesAuthVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.android.gms.play-services-measurement-$PlayerServicesMeasurementVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-measurement-$PlayerServicesMeasurementVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-analytics-$AnalyticsVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-analytics-$AnalyticsVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-auth-$AuthVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-auth-$AuthVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-config-$ConfigVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-config-$ConfigVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-dynamic-links-$DynamicLinksVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-dynamic-links-$DynamicLinksVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-firestore-$FirestoreVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-firestore-$FirestoreVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-components-$FirebaseComponentsVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-components-$FirebaseComponentsVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-analytics-ktx-$AnalyticsVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-analytics-ktx-$AnalyticsVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-auth-ktx-$AuthVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-auth-ktx-$AuthVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-config-ktx-$ConfigVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-config-ktx-$ConfigVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-dynamic-links-ktx-$DynamicLinksVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-dynamic-links-ktx-$DynamicLinksVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-firestore-ktx-$FirestoreVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-firestore-ktx-$FirestoreVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-iid-$IidVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-iid-$IidVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-messaging-$MessagingVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-messaging-$MessagingVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-perf-$PerfVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-perf-$PerfVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-storage-$StorageVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-storage-$StorageVersion.ane?raw=true -Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.crashlytics.sdk.android.crashlytics-$CrashlyticsVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.crashlytics.sdk.android.crashlytics-$CrashlyticsVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-storage-ktx-$StorageVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-storage-ktx-$StorageVersion.ane?raw=true +Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.google.firebase.firebase-crashlytics-$CrashlyticsVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-crashlytics-$CrashlyticsVersion.ane?raw=true Invoke-WebRequest -OutFile "$currentDir\android_dependencies\com.onesignal.OneSignal-$OneSignalVersion.ane" -Uri https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.onesignal.OneSignal-$OneSignalVersion.ane?raw=true diff --git a/example/get_android_dependencies.sh b/example/get_android_dependencies.sh index 69081811..4d5521b3 100644 --- a/example/get_android_dependencies.sh +++ b/example/get_android_dependencies.sh @@ -1,38 +1,40 @@ #!/bin/sh -AneVersion="0.12.0" -FreKotlinVersion="1.10.0" -PlayerServicesAuthVersion="17.0.0" +AneVersion="0.13.0" +FreKotlinVersion="1.40.0" +PlayerServicesAuthVersion="18.1.0" PlayerServicesBaseVersion="17.1.0" -PlayerServicesMeasurementVersion="17.3.0" +PlayerServicesMeasurementVersion="17.5.0" SupportV4Version="1.0.0" -AnalyticsVersion="17.3.0" +AnalyticsVersion="17.5.0" DynamicLinksVersion="19.1.0" -IidVersion="20.1.5" +FirebaseComponentsVersion="16.0.0" +IidVersion="20.2.3" StorageVersion="19.1.1" -PerfVersion="19.0.5" -FirestoreVersion="21.4.2" -MessagingVersion="20.1.5" -ConfigVersion="19.1.3" -AuthVersion="19.3.0" +PerfVersion="19.0.8" +FirestoreVersion="21.5.0" +MessagingVersion="20.2.4" +ConfigVersion="19.2.0" +AuthVersion="19.3.2" EventBusVersion="3.0.0" GsonVersion="2.8.6" OkhttpVersion="2.7.5" GuavaVersion="28.1-android" -CrashlyticsVersion="2.10.1" +CrashlyticsVersion="17.1.1" OneSignalVersion="3.13.2" -wget -O ../native_extension/ane/FirebaseANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirebaseANE.ane?raw=true -wget -O ../native_extension/AnalyticsANE/ane/AnalyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AnalyticsANE.ane?raw=true -wget -O ../native_extension/AuthANE/ane/AuthANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AuthANE.ane?raw=true -wget -O ../native_extension/DynamicLinksANE/ane/DynamicLinksANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/DynamicLinksANE.ane?raw=true -wget -O ../native_extension/FirestoreANE/ane/FirestoreANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirestoreANE.ane?raw=true -wget -O ../native_extension/MessagingANE/ane/MessagingANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/MessagingANE.ane?raw=true -wget -O ../native_extension/PerformanceANE/ane/PerformanceANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/PerformanceANE.ane?raw=true -wget -O ../native_extension/RemoteConfigANE/ane/RemoteConfigANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/RemoteConfigANE.ane?raw=true -wget -O ../native_extension/StorageANE/ane/StorageANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/StorageANE.ane?raw=true -wget -O ../native_extension/GoogleSignInANE/ane/GoogleSignInANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/GoogleSignInANE.ane?raw=true -wget -O ../native_extension/CrashlyticsANE/ane/CrashlyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/CrashlyticsANE.ane?raw=true +wget -O extensions/FirebaseANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirebaseANE.ane?raw=true +wget -O extensions/AnalyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AnalyticsANE.ane?raw=true +wget -O extensions/AuthANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AuthANE.ane?raw=true +wget -O extensions/DynamicLinksANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/DynamicLinksANE.ane?raw=true +wget -O extensions/FirestoreANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirestoreANE.ane?raw=true +wget -O extensions/MessagingANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/MessagingANE.ane?raw=true +wget -O extensions/PerformanceANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/PerformanceANE.ane?raw=true +wget -O extensions/RemoteConfigANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/RemoteConfigANE.ane?raw=true +wget -O extensions/StorageANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/StorageANE.ane?raw=true +wget -O extensions/GoogleSignInANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/GoogleSignInANE.ane?raw=true +wget -O extensions/CrashlyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/CrashlyticsANE.ane?raw=true +wget -O extensions/OneSignalANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/OneSignalANE.ane?raw=true wget -O android_dependencies/com.tuarua.frekotlin-$FreKotlinVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/kotlin/com.tuarua.frekotlin-$FreKotlinVersion.ane?raw=true wget -O android_dependencies/org.greenrobot.eventbus-$EventBusVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/misc/org.greenrobot.eventbus-$EventBusVersion.ane?raw=true @@ -46,14 +48,15 @@ wget -O android_dependencies/com.google.android.gms.play-services-base-$PlayerSe wget -O android_dependencies/com.google.android.gms.play-services-auth-$PlayerServicesAuthVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-auth-$PlayerServicesAuthVersion.ane?raw=true wget -O android_dependencies/com.google.android.gms.play-services-measurement-$PlayerServicesMeasurementVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-measurement-$PlayerServicesMeasurementVersion.ane?raw=true -wget -O android_dependencies/com.crashlytics.sdk.android.crashlytics-$CrashlyticsVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.crashlytics.sdk.android.crashlytics-$CrashlyticsVersion.ane?raw=true -wget -O android_dependencies/com.google.firebase.firebase-analytics-$AnalyticsVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-analytics-$AnalyticsVersion.ane?raw=true -wget -O android_dependencies/com.google.firebase.firebase-auth-$AuthVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-auth-$AuthVersion.ane?raw=true -wget -O android_dependencies/com.google.firebase.firebase-config-$ConfigVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-config-$ConfigVersion.ane?raw=true -wget -O android_dependencies/com.google.firebase.firebase-dynamic-links-$DynamicLinksVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-dynamic-links-$DynamicLinksVersion.ane?raw=true -wget -O android_dependencies/com.google.firebase.firebase-firestore-$FirestoreVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-firestore-$FirestoreVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-components-$FirebaseComponentsVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-components-$FirebaseComponentsVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-crashlytics-$CrashlyticsVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-crashlytics-$CrashlyticsVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-analytics-ktx-$AnalyticsVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-analytics-ktx-$AnalyticsVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-auth-ktx-$AuthVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-auth-ktx-$AuthVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-config-ktx-$ConfigVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-config-ktx-$ConfigVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-dynamic-ktx-links-$DynamicLinksVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-dynamic-links-ktx-$DynamicLinksVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-firestore-ktx-$FirestoreVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-firestore-ktx-$FirestoreVersion.ane?raw=true wget -O android_dependencies/com.google.firebase.firebase-iid-$IidVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-iid-$IidVersion.ane?raw=true wget -O android_dependencies/com.google.firebase.firebase-messaging-$MessagingVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-messaging-$MessagingVersion.ane?raw=true wget -O android_dependencies/com.google.firebase.firebase-perf-$PerfVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-perf-$PerfVersion.ane?raw=true -wget -O android_dependencies/com.google.firebase.firebase-storage-$StorageVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-storage-$StorageVersion.ane?raw=true +wget -O android_dependencies/com.google.firebase.firebase-storage-ktx-$StorageVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.google.firebase.firebase-storage-ktx-$StorageVersion.ane?raw=true wget -O android_dependencies/com.onesignal.OneSignal-$OneSignalVersion.ane https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/firebase/com.onesignal.OneSignal-$OneSignalVersion.ane?raw=true diff --git a/example/get_ios_dependencies.sh b/example/get_ios_dependencies.sh index 42c05ac8..3562fe0a 100644 --- a/example/get_ios_dependencies.sh +++ b/example/get_ios_dependencies.sh @@ -3,8 +3,8 @@ rm -r ios_dependencies/device rm -r ios_dependencies/simulator -AneVersion="0.12.0" -FreSwiftVersion="4.4.0" +AneVersion="0.13.0" +FreSwiftVersion="4.5.0" wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/$FreSwiftVersion/ios_dependencies.zip unzip -u -o ios_dependencies.zip @@ -18,14 +18,15 @@ wget https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/ios_de unzip -u -o ios_dependencies.zip rm ios_dependencies.zip -wget -O ../native_extension/ane/FirebaseANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirebaseANE.ane?raw=true -wget -O ../native_extension/AnalyticsANE/ane/AnalyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AnalyticsANE.ane?raw=true -wget -O ../native_extension/AuthANE/ane/AuthANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AuthANE.ane?raw=true -wget -O ../native_extension/DynamicLinksANE/ane/DynamicLinksANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/DynamicLinksANE.ane?raw=true -wget -O ../native_extension/FirestoreANE/ane/FirestoreANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirestoreANE.ane?raw=true -wget -O ../native_extension/MessagingANE/ane/MessagingANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/MessagingANE.ane?raw=true -wget -O ../native_extension/PerformanceANE/ane/PerformanceANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/PerformanceANE.ane?raw=true -wget -O ../native_extension/RemoteConfigANE/ane/RemoteConfigANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/RemoteConfigANE.ane?raw=true -wget -O ../native_extension/StorageANE/ane/StorageANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/StorageANE.ane?raw=true -wget -O ../native_extension/GoogleSignInANE/ane/GoogleSignInANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/GoogleSignInANE.ane?raw=true -wget -O ../native_extension/CrashlyticsANE/ane/CrashlyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/CrashlyticsANE.ane?raw=true +wget -O extensions/FirebaseANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirebaseANE.ane?raw=true +wget -O extensions/AnalyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AnalyticsANE.ane?raw=true +wget -O extensions/AuthANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/AuthANE.ane?raw=true +wget -O extensions/DynamicLinksANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/DynamicLinksANE.ane?raw=true +wget -O extensions/FirestoreANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/FirestoreANE.ane?raw=true +wget -O extensions/MessagingANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/MessagingANE.ane?raw=true +wget -O extensions/PerformanceANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/PerformanceANE.ane?raw=true +wget -O extensions/RemoteConfigANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/RemoteConfigANE.ane?raw=true +wget -O extensions/StorageANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/StorageANE.ane?raw=true +wget -O extensions/GoogleSignInANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/GoogleSignInANE.ane?raw=true +wget -O extensions/CrashlyticsANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/CrashlyticsANE.ane?raw=true +wget -O extensions/OneSignalANE.ane https://github.com/tuarua/Firebase-ANE/releases/download/$AneVersion/OneSignalANE.ane?raw=true \ No newline at end of file diff --git a/example/src/Main-app-android.xml b/example/src/Main-app-android.xml index 64a88775..672ea031 100755 --- a/example/src/Main-app-android.xml +++ b/example/src/Main-app-android.xml @@ -4,7 +4,7 @@ com.tuarua.firebaseane.example FireBaseExample FIR-Example-Android - 0.12.0 + 0.13.0 @@ -130,6 +130,12 @@ + + - - @@ -313,7 +313,7 @@ com.tuarua.frekotlin org.greenrobot.eventbus com.google.code.gson.gson - com.squareup.okhttp.okhttp + com.squareup.okhttp3.okhttp com.google.guava.guava androidx.legacy.legacy-support-v4 com.google.android.gms.play-services-measurement @@ -333,19 +333,20 @@ com.tuarua.firebase.PerformanceANE com.tuarua.firebase.CrashlyticsANE - com.google.firebase.firebase-analytics + com.google.firebase.firebase-components + com.google.firebase.firebase-analytics-ktx com.google.firebase.firebase-iid - com.google.firebase.firebase-firestore - com.google.firebase.firebase-storage - com.google.firebase.firebase-config - com.google.firebase.firebase-auth - com.google.firebase.firebase-dynamic-links + com.google.firebase.firebase-firestore-ktx + com.google.firebase.firebase-storage-ktx + com.google.firebase.firebase-config-ktx + com.google.firebase.firebase-auth-ktx + com.google.firebase.firebase-dynamic-links-ktx com.google.firebase.firebase-messaging com.onesignal.OneSignal androidx.cardview.cardview androidx.browser.browser com.google.firebase.firebase-perf - com.crashlytics.sdk.android.crashlytics + com.google.firebase.firebase-crashlytics diff --git a/example/src/Main-app-ios-store.xml b/example/src/Main-app-ios-store.xml index 2a215a72..0134ed65 100755 --- a/example/src/Main-app-ios-store.xml +++ b/example/src/Main-app-ios-store.xml @@ -1,5 +1,5 @@ - + com.tuarua.firebaseane.examplelive FireBaseExample diff --git a/example/src/Main-app-ios.xml b/example/src/Main-app-ios.xml index 2cda9e58..9ceef1f9 100755 --- a/example/src/Main-app-ios.xml +++ b/example/src/Main-app-ios.xml @@ -1,10 +1,10 @@ - + com.tuarua.firebaseane.example FireBaseExample FIR-Example-iOS-Device - 0.6.0 + 0.13.0 @@ -53,7 +53,7 @@ 2 MinimumOSVersion - 9.0 + 12.2 FirebaseAutomaticScreenReportingEnabled @@ -103,5 +103,6 @@ com.tuarua.firebase.DynamicLinksANE com.tuarua.google.GoogleSignInANE com.tuarua.firebase.CrashlyticsANE + com.tuarua.OneSignalANE diff --git a/example/src/StarlingRoot.as b/example/src/StarlingRoot.as index 14f37a98..eb0b5b69 100755 --- a/example/src/StarlingRoot.as +++ b/example/src/StarlingRoot.as @@ -59,8 +59,6 @@ public class StarlingRoot extends Sprite { private var dynamicLinksExample:DynamicLinksExample; private var crashlyticsExample:CrashlyticsExample; - // b2018434-a4ae-47f2-9aea-bb931f94a747 - public function StarlingRoot() { TextField.registerCompositor(Fonts.getFont("fira-sans-semi-bold-13"), "Fira Sans Semi-Bold 13"); NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExiting); diff --git a/example/src/views/examples/AuthExample.as b/example/src/views/examples/AuthExample.as index b54d1cee..a1bc6c92 100644 --- a/example/src/views/examples/AuthExample.as +++ b/example/src/views/examples/AuthExample.as @@ -2,6 +2,7 @@ package views.examples { import com.tuarua.Firebase; import com.tuarua.firebase.Auth; import com.tuarua.firebase.auth.AuthError; +import com.tuarua.firebase.auth.AuthResult; import com.tuarua.firebase.auth.EmailAuthCredential; import com.tuarua.firebase.auth.FirebaseUser; import com.tuarua.firebase.auth.GoogleAuthCredential; @@ -127,7 +128,7 @@ public class AuthExample extends Sprite implements IExample { statusLabel.text = "Google Sign In error: " + event.error.errorID + " : " + event.error.message; return; } - auth.signIn(event.credential, onSignedIn); + auth.signInWithCredential(event.credential, onSignedIn); } private function onLinkWithGoogleClick(event:TouchEvent):void { @@ -166,7 +167,7 @@ public class AuthExample extends Sprite implements IExample { private function onSignInEmailPasswordClick(event:TouchEvent):void { var touch:Touch = event.getTouch(btnSignInEmailPassword); if (touch != null && touch.phase == TouchPhase.ENDED) { - auth.signIn(new EmailAuthCredential("test@test.com", "password"), onSignedIn); + auth.signInWithCredential(new EmailAuthCredential("test@test.com", "password"), onSignedIn); } } @@ -177,19 +178,20 @@ public class AuthExample extends Sprite implements IExample { } } - private function onSignedIn(error:AuthError):void { + private function onSignedIn(result:AuthResult, error:AuthError):void { if (error) { statusLabel.text = "onSignedIn error: " + error.errorID + " : " + error.message; return; } - var user:FirebaseUser = auth.currentUser; + trace(result.additionalUserInfo); + var user:FirebaseUser = result.user; statusLabel.text = "Signed In" + "\n" + "isAnonymous: " + user.isAnonymous + "\n" + "displayName: " + user.displayName + "\n" + "email: " + user.email + "\n" + "isEmailVerified: " + user.isEmailVerified + "\n" + "photoUrl: " + user.photoUrl + "\n"; - user.getIdToken(true, function (token:String):void { + user.getIdToken(false, function (token:String):void { statusLabel.text += "token: " + token.substr(0, 10) + "..."; }); } diff --git a/example/src/views/examples/CrashlyticsExample.as b/example/src/views/examples/CrashlyticsExample.as index 6a35bd43..c9fb2885 100755 --- a/example/src/views/examples/CrashlyticsExample.as +++ b/example/src/views/examples/CrashlyticsExample.as @@ -3,8 +3,6 @@ import com.tuarua.Firebase; import com.tuarua.firebase.Crashlytics; import com.tuarua.fre.ANEError; -import flash.system.Capabilities; - import starling.display.Sprite; import starling.events.Touch; import starling.events.TouchEvent; @@ -52,15 +50,14 @@ public class CrashlyticsExample extends Sprite implements IExample { btnException.addEventListener(TouchEvent.TOUCH, onExceptionClick); addChild(btnException); - - statusLabel.y = btnLog.y + (StarlingRoot.GAP * 1.25); + statusLabel.y = btnException.y + (StarlingRoot.GAP * 1.25); } private function onExceptionClick(event:TouchEvent):void { var touch:Touch = event.getTouch(btnException); if (touch != null && touch.phase == TouchPhase.ENDED) { var testError:Error = new Error("AS message", 99); - crashlytics.logException(testError); + crashlytics.recordException(testError); } } @@ -74,19 +71,19 @@ public class CrashlyticsExample extends Sprite implements IExample { private function onLogClick(event:TouchEvent):void { var touch:Touch = event.getTouch(btnLog); if (touch != null && touch.phase == TouchPhase.ENDED) { - crashlytics.userIdentifier = "123456789"; - crashlytics.userEmail = "test@test.com"; - crashlytics.userName = "avatar123"; - crashlytics.setBool("isLoggedIn", true); - crashlytics.log("I am a test message"); + crashlytics.userId = "123456789"; + crashlytics.setCustomKey("isLoggedIn", true); + crashlytics.log("I am a test message 2"); } } public function initANE():void { if (isInited) return; try { - Crashlytics.debug = Capabilities.isDebugger; + Crashlytics.enabled = true; crashlytics = Firebase.crashlytics(); + statusLabel.text += "did Crash On Previous Execution: " + crashlytics.didCrashOnPreviousExecution() + "\n"; + } catch (e:ANEError) { statusLabel.text += e.message + "\n"; statusLabel.text += e.getStackTrace() + "\n"; diff --git a/example_vision/.idea/libraries/AnalyticsANE.xml b/example_vision/.idea/libraries/AnalyticsANE.xml deleted file mode 100644 index 8401e888..00000000 --- a/example_vision/.idea/libraries/AnalyticsANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/FirebaseANE.xml b/example_vision/.idea/libraries/FirebaseANE.xml deleted file mode 100644 index be8d4815..00000000 --- a/example_vision/.idea/libraries/FirebaseANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/ModelInterpreterANE.xml b/example_vision/.idea/libraries/ModelInterpreterANE.xml deleted file mode 100644 index 3201ff35..00000000 --- a/example_vision/.idea/libraries/ModelInterpreterANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/NaturalLanguageANE.xml b/example_vision/.idea/libraries/NaturalLanguageANE.xml deleted file mode 100644 index 90df674d..00000000 --- a/example_vision/.idea/libraries/NaturalLanguageANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/RemoteConfigANE.xml b/example_vision/.idea/libraries/RemoteConfigANE.xml deleted file mode 100644 index 8ae0fa36..00000000 --- a/example_vision/.idea/libraries/RemoteConfigANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionANE.xml b/example_vision/.idea/libraries/VisionANE.xml deleted file mode 100644 index 7eb8d017..00000000 --- a/example_vision/.idea/libraries/VisionANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionBarcodeANE.xml b/example_vision/.idea/libraries/VisionBarcodeANE.xml deleted file mode 100644 index 35aa018f..00000000 --- a/example_vision/.idea/libraries/VisionBarcodeANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionCloudDocumentANE.xml b/example_vision/.idea/libraries/VisionCloudDocumentANE.xml deleted file mode 100644 index 9eeb8c15..00000000 --- a/example_vision/.idea/libraries/VisionCloudDocumentANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionCloudLabelANE.xml b/example_vision/.idea/libraries/VisionCloudLabelANE.xml deleted file mode 100644 index 0073aeaf..00000000 --- a/example_vision/.idea/libraries/VisionCloudLabelANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionCloudTextANE.xml b/example_vision/.idea/libraries/VisionCloudTextANE.xml deleted file mode 100644 index 3cf734fd..00000000 --- a/example_vision/.idea/libraries/VisionCloudTextANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionFaceANE.xml b/example_vision/.idea/libraries/VisionFaceANE.xml deleted file mode 100644 index 9de3a914..00000000 --- a/example_vision/.idea/libraries/VisionFaceANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionLabelANE.xml b/example_vision/.idea/libraries/VisionLabelANE.xml deleted file mode 100644 index 389174d1..00000000 --- a/example_vision/.idea/libraries/VisionLabelANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionLandmarkANE.xml b/example_vision/.idea/libraries/VisionLandmarkANE.xml deleted file mode 100644 index 2d6470a5..00000000 --- a/example_vision/.idea/libraries/VisionLandmarkANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/VisionTextANE.xml b/example_vision/.idea/libraries/VisionTextANE.xml deleted file mode 100644 index e9021062..00000000 --- a/example_vision/.idea/libraries/VisionTextANE.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/android_dependencies.xml b/example_vision/.idea/libraries/android_dependencies.xml new file mode 100644 index 00000000..d749728f --- /dev/null +++ b/example_vision/.idea/libraries/android_dependencies.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/example_vision/.idea/libraries/androidx_legacy_legacy_support_v4_1_0_0.xml b/example_vision/.idea/libraries/androidx_legacy_legacy_support_v4_1_0_0.xml deleted file mode 100644 index a767cb58..00000000 --- a/example_vision/.idea/libraries/androidx_legacy_legacy_support_v4_1_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/barcodeAssets.xml b/example_vision/.idea/libraries/barcodeAssets.xml deleted file mode 100644 index af476709..00000000 --- a/example_vision/.idea/libraries/barcodeAssets.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_android_gms_play_services_base_17_1_0.xml b/example_vision/.idea/libraries/com_google_android_gms_play_services_base_17_1_0.xml deleted file mode 100644 index 3480e9c3..00000000 --- a/example_vision/.idea/libraries/com_google_android_gms_play_services_base_17_1_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_code_gson_gson_2_8_6.xml b/example_vision/.idea/libraries/com_google_code_gson_gson_2_8_6.xml deleted file mode 100644 index a64833fb..00000000 --- a/example_vision/.idea/libraries/com_google_code_gson_gson_2_8_6.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_analytics_17_3_0.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_analytics_17_3_0.xml deleted file mode 100644 index f6411b6e..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_analytics_17_3_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_config_19_1_3.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_config_19_1_3.xml deleted file mode 100644 index 21206f7f..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_config_19_1_3.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_iid_20_1_5.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_iid_20_1_5.xml deleted file mode 100644 index 4e0574f8..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_iid_20_1_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_model_interpreter_22_0_1.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_ml_model_interpreter_22_0_1.xml deleted file mode 100644 index 26810336..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_model_interpreter_22_0_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_natural_language_22_0_0.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_ml_natural_language_22_0_0.xml deleted file mode 100644 index 16d92f4c..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_natural_language_22_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_24_0_1.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_24_0_1.xml deleted file mode 100644 index 0f7fae84..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_24_0_1.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_barcode_model_16_0_2.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_barcode_model_16_0_2.xml deleted file mode 100644 index c7668d5a..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_barcode_model_16_0_2.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_face_model_19_0_0.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_face_model_19_0_0.xml deleted file mode 100644 index b1e86729..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_face_model_19_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_image_label_model_19_0_0.xml b/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_image_label_model_19_0_0.xml deleted file mode 100644 index af826346..00000000 --- a/example_vision/.idea/libraries/com_google_firebase_firebase_ml_vision_image_label_model_19_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/com_tuarua_frekotlin_1_10_0.xml b/example_vision/.idea/libraries/com_tuarua_frekotlin_1_10_0.xml deleted file mode 100644 index 535d098c..00000000 --- a/example_vision/.idea/libraries/com_tuarua_frekotlin_1_10_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/extensions.xml b/example_vision/.idea/libraries/extensions.xml new file mode 100644 index 00000000..82bd7aa9 --- /dev/null +++ b/example_vision/.idea/libraries/extensions.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/example_vision/.idea/libraries/org_greenrobot_eventbus_3_0_0.xml b/example_vision/.idea/libraries/org_greenrobot_eventbus_3_0_0.xml deleted file mode 100644 index 38afa949..00000000 --- a/example_vision/.idea/libraries/org_greenrobot_eventbus_3_0_0.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/.idea/libraries/org_jetbrains_kotlinx_kotlinx_coroutines_android_1_3_5.xml b/example_vision/.idea/libraries/org_jetbrains_kotlinx_kotlinx_coroutines_android_1_3_5.xml deleted file mode 100644 index a4293dbb..00000000 --- a/example_vision/.idea/libraries/org_jetbrains_kotlinx_kotlinx_coroutines_android_1_3_5.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 b/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 new file mode 100644 index 00000000..7ad94597 Binary files /dev/null and b/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 differ diff --git a/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore b/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore new file mode 100644 index 00000000..95c620f5 --- /dev/null +++ b/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/.gitignore @@ -0,0 +1 @@ +values.xml \ No newline at end of file diff --git a/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md b/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md new file mode 100644 index 00000000..7582e6df --- /dev/null +++ b/example_vision/META-INF/ANE/Android-ARM/com.tuarua.firebase.FirebaseANE-res/values/README.md @@ -0,0 +1,19 @@ +#### Place values.xml file in here + +- Create a values.xml file in this folder with the below contents. +Update values with those found in the google-services.json file from your Firebase app + +````xml + + + FirebaseANE + [JSON client_id] + [JSON firebase_url] + [JSON project_number] + [JSON current_key] + [JSON mobilesdk_app_id] + [JSON current_key] + [JSON storage_bucket] + [JSON project_id] + +````` diff --git a/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 b/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 new file mode 100644 index 00000000..7ad94597 Binary files /dev/null and b/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 differ diff --git a/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore b/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore new file mode 100644 index 00000000..95c620f5 --- /dev/null +++ b/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/.gitignore @@ -0,0 +1 @@ +values.xml \ No newline at end of file diff --git a/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md b/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md new file mode 100644 index 00000000..7582e6df --- /dev/null +++ b/example_vision/META-INF/ANE/Android-ARM64/com.tuarua.firebase.FirebaseANE-res/values/README.md @@ -0,0 +1,19 @@ +#### Place values.xml file in here + +- Create a values.xml file in this folder with the below contents. +Update values with those found in the google-services.json file from your Firebase app + +````xml + + + FirebaseANE + [JSON client_id] + [JSON firebase_url] + [JSON project_number] + [JSON current_key] + [JSON mobilesdk_app_id] + [JSON current_key] + [JSON storage_bucket] + [JSON project_id] + +````` diff --git a/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 b/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 new file mode 100644 index 00000000..7ad94597 Binary files /dev/null and b/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/raw/spring.mp3 differ diff --git a/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore b/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore new file mode 100644 index 00000000..95c620f5 --- /dev/null +++ b/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/.gitignore @@ -0,0 +1 @@ +values.xml \ No newline at end of file diff --git a/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md b/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md new file mode 100644 index 00000000..7582e6df --- /dev/null +++ b/example_vision/META-INF/ANE/Android-x86/com.tuarua.firebase.FirebaseANE-res/values/README.md @@ -0,0 +1,19 @@ +#### Place values.xml file in here + +- Create a values.xml file in this folder with the below contents. +Update values with those found in the google-services.json file from your Firebase app + +````xml + + + FirebaseANE + [JSON client_id] + [JSON firebase_url] + [JSON project_number] + [JSON current_key] + [JSON mobilesdk_app_id] + [JSON current_key] + [JSON storage_bucket] + [JSON project_id] + +````` diff --git a/example_vision/VisionANESample.iml b/example_vision/VisionANESample.iml index ef01d4d3..b801cf95 100644 --- a/example_vision/VisionANESample.iml +++ b/example_vision/VisionANESample.iml @@ -8,47 +8,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -74,98 +36,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - +