rhodes 7.5.1 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +319 -0
- data/README.md +3 -15
- data/Rakefile +3 -0
- data/appveyor.yml +37 -32
- data/azure-pipelines.yml +1 -1
- data/bin/rhodes-setup +22 -8
- data/extensions/emdk3-manager/ext/platform/android/src/com/rho/emdk3/EMDK3Extension.java +14 -5
- data/extensions/instrumentation/ext/platform/android/src/com/rho/instrumentation/Instrumentation.java +29 -15
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/src/com/rhomobile/rhoelements/ans/ANSManager.java +1 -1
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/ElementsCore.java +12 -9
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/graphics/BatteryIndicator.java +2 -2
- data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro +1 -1
- data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro.erb +2 -2
- data/lib/commonAPI/barcode/ext/platform/qt/src/qzxing/QZXing.pri +9 -21
- data/lib/commonAPI/barcode/ext.yml +1 -0
- data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro +1 -1
- data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro.erb +1 -1
- data/lib/commonAPI/bluetooth/ext/platform/qt/src/bluetooth/bluetoothhelper.h +1 -1
- data/lib/commonAPI/coreapi/RhoSystemApi.rb +6 -0
- data/lib/commonAPI/coreapi/ext/Intent.xml +4 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/intent/IntentSingleton.java +6 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +2 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +1 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/webview/WebViewSingleton.java +40 -27
- data/lib/commonAPI/coreapi/ext/platform/iphone/cpp_based_impl/SystemImpl.mm +5 -6
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/Intent.h +1 -1
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/Intent.m +3 -1
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +2 -1
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +10 -0
- data/lib/commonAPI/coreapi/ext/platform/wm/src/IntentImpl.cpp +3 -0
- data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.cpp +13 -0
- data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.h +2 -0
- data/lib/commonAPI/coreapi/ext/system.xml +3 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationCameraActivity.erb +2 -2
- data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +1 -1
- data/lib/commonAPI/mediacapture/ext/platform/android/ext_java.files +1 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +8 -4
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +8 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/mediacapture/RhoCameraFileProvider.java +6 -0
- data/lib/commonAPI/mediacapture/ext/platform/qt/MediaCapture.pro.erb +1 -1
- data/lib/commonAPI/mediacapture/ext/platform/qt/Mediacapture.pro +1 -1
- data/lib/commonAPI/signature/ext/platform/iphone/impl/readme.txt +7 -0
- data/lib/commonAPI/signature/ext/platform/qt/Signature.pro +3 -10
- data/lib/commonAPI/signature/ext/platform/qt/Signature.pro.erb +2 -2
- data/lib/extensions/fcm-push/ext/iphone/Podfile +15 -2
- data/lib/extensions/fcm-push/ext/iphone/fcm-push.xcodeproj/project.pbxproj +6 -7
- data/lib/extensions/nfc/ext/platform/android/src/com/rhomobile/nfc/Nfc.java +2 -1
- data/lib/extensions/serialport/ext/serialport.pro +1 -1
- data/platform/android/Rhodes/jni/include/rhodes/JNIRhodes.h +1 -0
- data/platform/android/Rhodes/jni/src/fileapi.cpp +4 -0
- data/platform/android/Rhodes/res/drawable/baseline_check_24.xml +5 -0
- data/platform/android/Rhodes/res/drawable/baseline_check_240.xml +5 -0
- data/platform/android/Rhodes/res/drawable/baseline_close_24.xml +5 -0
- data/platform/android/Rhodes/res/drawable/baseline_close_240.xml +5 -0
- data/platform/android/Rhodes/res/layout/overlay_layout.xml +39 -0
- data/platform/android/Rhodes/res/layout/perrmission_alert_dialog.xml +267 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +183 -66
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +38 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoFileProvider.java +32 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +529 -89
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +26 -4
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +256 -160
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/AbstractRhoExtension.java +14 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtManager.java +4 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtension.java +5 -4
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +79 -38
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java +6 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/CallReceiver.java +22 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/IKioskMode.java +11 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/KioskManager.java +18 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyAccessibilityService.java +230 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyNotificationListenerService.java +16 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyOverlayService.java +197 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/PermissionManager.java +232 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +34 -8
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/permissioncheck/CheckDrawable.java +53 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/permissioncheck/PermissionListGenerate.java +366 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/rhodes.iml +11 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +1 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +782 -41
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoInputConnectionWrapper.java +146 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoInputListener.java +21 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +92 -32
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/TauWebViewOptions.java +118 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebSettingsProviderBase.java +18 -17
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebSettingsProviderEclairMR1.java +4 -4
- data/platform/android/build/RhodesSRC_build.files +13 -0
- data/platform/android/build/android-repack.rake +8 -1
- data/platform/android/build/android.rake +118 -51
- data/platform/android/build/android_tools.rb +1 -1
- data/platform/android/build/androidcommon.rb +13 -7
- data/platform/android/build/config.yml +4 -1
- data/platform/android/build/manifest_generator.rb +14 -10
- data/platform/android/build/maven_deps_extractor.rb +7 -1
- data/platform/android/build/ndkwrapper.rb +12 -0
- data/platform/android/proguard/proguard-base-rules.pro +5 -0
- data/platform/android/proguard/proguard.jar +0 -0
- data/platform/iphone/Classes/RhoAppBaseLib-Bridging-Header.h +4 -0
- data/platform/iphone/Classes/RhoAppBaseStandaloneLib-Bridging-Header.h +4 -0
- data/platform/iphone/Classes/RhoCryptAESGCM.swift +105 -0
- data/platform/iphone/Classes/RhoUIWebView.h +1 -1
- data/platform/iphone/Classes/RhoUIWebView.m +1 -1
- data/platform/iphone/Classes/RhoWKWebView.h +1 -1
- data/platform/iphone/Classes/RhoWKWebView.mm +32 -4
- data/platform/iphone/Classes/RhoWebView.h +1 -1
- data/platform/iphone/Classes/RhoWebViewFabrique.m +7 -1
- data/platform/iphone/Classes/SimpleMainView.m +5 -5
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +21 -10
- data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +4 -0
- data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +1 -1
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1 -1
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +46 -1
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +1 -1
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +4 -1
- data/platform/iphone/rbuild/iphone.rake +9 -8
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +4 -1
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +1 -1
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +1 -1
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/sailfish/build/{harbour-SailfishRhodes.pro.erb → SailfishRhodes.pro.erb} +10 -17
- data/platform/sailfish/build/rhodes.pro.erb +7 -17
- data/platform/sailfish/build/rpm/SailfishRhodes.desktop.erb +12 -0
- data/platform/sailfish/build/rpm/SailfishRhodes.erb +2 -0
- data/platform/sailfish/build/rpm/SailfishRhodes.spec.erb +43 -0
- data/platform/sailfish/build/rubylib.pro.erb +29 -29
- data/platform/sailfish/build/sailfish.rake +188 -180
- data/platform/sailfish/keys/regular_cert.pem +14 -0
- data/platform/sailfish/keys/regular_key.pem +4 -0
- data/platform/shared/common/RhodesApp.cpp +33 -9
- data/platform/shared/common/iphone/RhoCryptImpl.mm +130 -54
- data/platform/shared/qt/RhoSimulator.pro +1 -1
- data/platform/shared/qt/rhodes/rhodes.pro +4 -11
- data/platform/shared/qt/sailfish/SailfishRhodes.desktop +3 -4
- data/platform/shared/qt/sailfish/SailfishRhodes.pro +9 -10
- data/platform/shared/qt/sailfish/icons/108x108/108x108.png +0 -0
- data/platform/shared/qt/sailfish/privileges/sailfishrhodes +2 -0
- data/platform/shared/qt/sailfish/qml/pages/FirstPageWK.qml +7 -11
- data/platform/shared/qt/sailfish/qml/{harbour-sailfishrhodes.qml → sailfishrhodes.qml} +1 -1
- data/platform/shared/qt/sailfish/rpm/sailfishrhodes.spec +80 -0
- data/platform/shared/qt/sailfish/rpm/{harbour-sailfishrhodes.yaml → sailfishrhodes.yaml} +2 -2
- data/platform/shared/qt/sailfish/src/QtMainWindow.cpp +1 -1
- data/platform/shared/qt/sailfish/src/QtMainWindow.h +1 -1
- data/platform/shared/qt/sailfish/src/main.cpp +6 -38
- data/platform/shared/qt/sailfish/src/rootdelegate.h +2 -14
- data/platform/shared/ruby/aurora/ruby/config.h +386 -0
- data/platform/shared/ruby/aurora/ruby/constdefs.c +5866 -0
- data/platform/shared/ruby/aurora/ruby/constdefs.h +1788 -0
- data/platform/shared/sqlite/crypto.c +14 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/build/rhodes.nsi +3 -3
- data/platform/win32/build/win32.rake +1 -1
- data/rakefile.rb +3 -0
- data/res/build-tools/iphonesim/build/Release/iphonesim_8 +4 -4
- data/res/generators/templates/application/AndroidManifest.erb +26 -5
- data/res/generators/templates/application/build.yml +14 -10
- data/res/generators/templates/application/resources/android/res/xml/provider_paths.xml +4 -0
- data/res/generators/templates/application/rhoconfig.txt +10 -1
- data/res/generators/templates/iphone_project/Bremen8.xcodeproj/project.pbxproj +24 -1
- data/res/generators/templates/iphone_project/Classes/SimpleSwiftClass.swift +20 -0
- data/res/generators/templates/iphone_project/Classes/rhorunner-Bridging-Header.h +4 -0
- data/rhobuild.yml.example +3 -3
- data/rhodes.gemspec +4 -2
- data/version +1 -1
- metadata +81 -26
- data/platform/sailfish/build/rho_build.cmd.erb +0 -14
- data/platform/sailfish/build/rho_clean.cmd.erb +0 -14
- data/platform/sailfish/build/rho_deploy.cmd.erb +0 -15
- data/platform/sailfish/build/rho_rpm.cmd.erb +0 -14
- data/platform/sailfish/build/rho_rpmvalidation.cmd.erb +0 -14
- data/platform/sailfish/build/rpm/harbour-SailfishRhodes.desktop.erb +0 -7
- data/platform/sailfish/build/rpm/harbour-SailfishRhodes.erb +0 -2
- data/platform/sailfish/build/rpm/harbour-SailfishRhodes.yaml.erb +0 -37
- data/platform/shared/qt/sailfish/harbour-sailfishrhodes.desktop +0 -6
- data/platform/shared/qt/sailfish/icons/108x108/harbour-sailfishrhodes.png +0 -0
- data/platform/shared/qt/sailfish/privileges/harbour-sailfishrhodes +0 -2
- data/platform/shared/qt/sailfish/qml/pages/FirstPageWE.qml +0 -236
- /data/platform/shared/qt/sailfish/icons/128x128/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
- /data/platform/shared/qt/sailfish/icons/172x172/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
- /data/platform/shared/qt/sailfish/icons/86x86/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1f7e065cb9464decac0baf573173c3535d971ba58d0ab2e729d0818fb7c47bd
|
|
4
|
+
data.tar.gz: 93b0bf39d9c714185ba42b5accf602a00b10a859f797a10e8961d1f1a68e348a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb4ae78a83d4a62870eda44114008ed01d15786c55e83035faf14ebf6a9964376cd6d4fb5bee5646cd6a687651e9115d096f753df5fa5bee4b0cb0789d3e7e06
|
|
7
|
+
data.tar.gz: 5d41f0f5ee1413677a6edad656e2a016269122b69cdb52de301219d802091b526fab91a837754e51361117abeab83f736245ffebe52f7ecfaefcfeec0b86b60e
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,322 @@
|
|
|
1
|
+
Please see here to know more about Rho versioning - http://forums.tau-technologies.com/thread/32/branch-version-management
|
|
2
|
+
|
|
3
|
+
7.5 - May 2022
|
|
4
|
+
- Android: dependencies updated to use androidx instead of support packaga
|
|
5
|
+
- Android: support for new build v32.0.0 and refactored build system
|
|
6
|
+
- Android: Support for Android 11
|
|
7
|
+
- Android: Support for NDK up to v24
|
|
8
|
+
- Android: updated FCM extension
|
|
9
|
+
- Android: allow preload java classes for extensions
|
|
10
|
+
- Android: fix CommonAPI ruby lambda callback issue (#1087)
|
|
11
|
+
- Android: refactor building AAB bundle and add AAPT2 to local toolchain (#1086)
|
|
12
|
+
- iOS: fix Rhodes as lib mode issue
|
|
13
|
+
- iOS: fix issues with CocoaServer
|
|
14
|
+
- iOS: remade local server on CocoaHTTPServer
|
|
15
|
+
- iOS: add another methods for provide direct http/https request with WKWebView
|
|
16
|
+
- iOS: fix issue with multiple choose images from Gallery
|
|
17
|
+
- Win32: added callback on close button pressed
|
|
18
|
+
- Win32: Support for Windows 11 (#1090)
|
|
19
|
+
- General: multiple fixes
|
|
20
|
+
|
|
21
|
+
7.4
|
|
22
|
+
- General: replace main domain to tau-platform.com
|
|
23
|
+
- iOS: support for iOS 15
|
|
24
|
+
- iOS: support bitcode
|
|
25
|
+
- iOS: force rebuild openssl.o extension for every build
|
|
26
|
+
- iOS: fix CLI build
|
|
27
|
+
- iOS: support cocoapods
|
|
28
|
+
- iOS: upgrade fcm-push
|
|
29
|
+
- Android: fix Camera for Android 10 and higher
|
|
30
|
+
- Android: upgraded network stack
|
|
31
|
+
- Android: support for custom network stacks ( via extensions )
|
|
32
|
+
- Android: support SSL pinning for upgraded network stack
|
|
33
|
+
- Android: fix occasional crashes on Android 9+
|
|
34
|
+
- Android: fix bug with undefined conscrypt class for rhodes as libs
|
|
35
|
+
- Android: remove usage java.nio.file.Paths for backward compatibility
|
|
36
|
+
- Android: allow preload java classes for extensions
|
|
37
|
+
- Win32/RhoSim: enabled Rho::Config
|
|
38
|
+
- Win32: update for MSVC version setting in build.yml
|
|
39
|
+
- WM: fix for windows mobile build on rhodes 7.x.x (#1071)
|
|
40
|
+
- CommonAPI: fix Network: clear input request headers map before saving response headers
|
|
41
|
+
|
|
42
|
+
7.3
|
|
43
|
+
- General: support for new debugger in VSCode extension ( https://marketplace.visualstudio.com/items?itemName=Tau-Technologies.rhomobile-dev-tools )
|
|
44
|
+
- General: bootstrap version increased to 4.4.1
|
|
45
|
+
- General: multiple fixes and improvements
|
|
46
|
+
- Android: support for Android 11
|
|
47
|
+
- Android: barcode recognizer that uses Google API
|
|
48
|
+
- Android: fix for granding access for sharing files from directory /rhodata/apps/ (Rho::Application.userFolder) to another applications
|
|
49
|
+
- Android: fixing camera crash on API 29 and higher
|
|
50
|
+
- Android: fixing double casting in arrays and hashes
|
|
51
|
+
- Android: reverting usage of requestLegacyExternalStorage flag in manifest
|
|
52
|
+
- Android: suppressing unnecessary calls for start foreground function
|
|
53
|
+
- Android: improve emulator startup
|
|
54
|
+
- Android: fix notification in foreground service for android 10
|
|
55
|
+
- Android: support maven deps as aar
|
|
56
|
+
- iOS: support for iOS 14
|
|
57
|
+
- iOS: control ARCHS of build
|
|
58
|
+
- iOS: extension build script refactoring
|
|
59
|
+
- iOS: fcm-push do not remove Frameworks.zip after unzip
|
|
60
|
+
- iOS: fix Bluetooth ext build
|
|
61
|
+
- iOS: fix build from XCode
|
|
62
|
+
- iOS: fix compilation issue in ZXing barcode lib
|
|
63
|
+
- iOS: fix image rotation issue
|
|
64
|
+
- iOS: fix native lib build
|
|
65
|
+
- iOS: use only active Arch for Debug
|
|
66
|
+
- iOS: openssl.so support M1 - arm64 simulator arch
|
|
67
|
+
- iOS: support only actual architectures
|
|
68
|
+
- iOS: support WebView.allowsInlineMediaPlayback rhoconfig option
|
|
69
|
+
- iOS: tune replacing screenshot for task
|
|
70
|
+
- Win32: VS 2019 supported for build environment
|
|
71
|
+
- Linux: adding setup guide for Rosa-X4
|
|
72
|
+
- Linux: fix remote debugging
|
|
73
|
+
- Linux: rosa rpm changes
|
|
74
|
+
- Linux: ubuntu guide update
|
|
75
|
+
- Sailfish: supporting Sailfish and Aurora both
|
|
76
|
+
- Sailfish: barcode fix
|
|
77
|
+
- RhoLib: fix build errors
|
|
78
|
+
- RhoLib: correct init RhoRuby API after ruby started
|
|
79
|
+
- RhoSim: more extensions in RhoSim
|
|
80
|
+
|
|
81
|
+
7.2
|
|
82
|
+
- New OS support: ROSA Linux
|
|
83
|
+
- New OS support: Astra Linux
|
|
84
|
+
- New OS support: Red OS
|
|
85
|
+
- Aurora OS: support for v3.2.1.20
|
|
86
|
+
- Android: Git Issue 1029 Start inner service foregorund for prevent kill by OS
|
|
87
|
+
- Android: Support SSL for local server
|
|
88
|
+
- Android: OpenSSL updated to 1.1.1
|
|
89
|
+
- Android: Fix some NPE crashes
|
|
90
|
+
- Android: Fix crash on audio capture and GPS if no permission on Android (#1020)
|
|
91
|
+
- iOS: fcm-push extension compress Google Frameworks for win32 maxpath issue
|
|
92
|
+
- iOS: update Google Firebase libraries in fcm-push extension
|
|
93
|
+
- iOS: support Frameworks and resources from extensions
|
|
94
|
+
- iOS: implement UI delegate for WKWebView - alert and other UI
|
|
95
|
+
- Common: remove non-UTF8 symbols from log messages
|
|
96
|
+
|
|
97
|
+
7.1.19
|
|
98
|
+
- Android: RhodesLib: add call NativeCallback from Ruby API
|
|
99
|
+
- Android: fix image sharing via intent
|
|
100
|
+
- Android: fix merge resource for app_name param
|
|
101
|
+
- Android: remove network_securiy_config for low api versions
|
|
102
|
+
- iOS: fix setting app badge
|
|
103
|
+
- iOS: fix issue with crash set_sleep on SDk >= 13.2
|
|
104
|
+
- iOS: remove ZBar library from barcode extension binary for fix of UIWebView issue and remove ZBAR support for iOS Barcode engine
|
|
105
|
+
- iOS: fix UIWebView issue with AppStore
|
|
106
|
+
- iOS: RhodesLib: fix framework build issue
|
|
107
|
+
- iOS: fix WKWebView issues with CommonAPI
|
|
108
|
+
- iOS: Migrate to WKWebView by default
|
|
109
|
+
- iOS: fix issues related to Citrix
|
|
110
|
+
- RhoSim, OS X, Win32: Migration to Qt 5.13 and msvs2017 (#1031)
|
|
111
|
+
- Http server: fixing socket leakage
|
|
112
|
+
- Win32: fixing toolbar issue
|
|
113
|
+
- Security: support WebView.replaceContentBySplashWhenSnapshotBySystem for secure recent
|
|
114
|
+
|
|
115
|
+
7.1.4
|
|
116
|
+
- Android: lots of fixes for ARM64 support
|
|
117
|
+
- Android: build system updates
|
|
118
|
+
- DB fix issue with dropped encryption key after new installation and DB reset
|
|
119
|
+
- restore selected last api level, if current level not available
|
|
120
|
+
- Android: added fcm v18 support extention ( tho-tau-extensions )
|
|
121
|
+
- Android: added rexml-edge for Ruby 2.3 ( rho-tau-extensions )
|
|
122
|
+
- Android: updated enterprise-barcode for ARM64 ( rho-tau-extensions )
|
|
123
|
+
|
|
124
|
+
7.1.1
|
|
125
|
+
- Android: updated integrated Maven to latest version
|
|
126
|
+
- Android: improved resolution for Maven dependencies
|
|
127
|
+
- Android: some fixes for arm64
|
|
128
|
+
- iOS: removed redunant insecure HTTP links
|
|
129
|
+
- iOS: updated prebuilt openssl libs
|
|
130
|
+
|
|
131
|
+
7.1.0.beta1
|
|
132
|
+
- RhoLib: support building of Rhodes as standalone library
|
|
133
|
+
- NodeJS: add RubyNodeJS mixed application type and support it on iOS
|
|
134
|
+
- Android: support ARM64 architecture
|
|
135
|
+
- Android: support CLang as native compiler
|
|
136
|
+
- Android: support NDKs up to 20
|
|
137
|
+
- Android: enable cleartext connections to local server with network security
|
|
138
|
+
- Android: fix support for API level above 28 for content file provider
|
|
139
|
+
- Android, iOS: scheduled notification API
|
|
140
|
+
- Android: fix crash when access to Camera after manually disable permission
|
|
141
|
+
- Android: fix crash on KitKat
|
|
142
|
+
- Android: fix CURL when downloading file
|
|
143
|
+
- Android: download external APKs to download dir with private permissions
|
|
144
|
+
- Android: fix build on Windows 10 returning invalid UTF for OS name
|
|
145
|
+
- Android: support Zebra TC51/52
|
|
146
|
+
- Android: some fixes for EMDK Barcode scanner
|
|
147
|
+
- Android: implement X509TrustManagerExtensions for SSL connections
|
|
148
|
+
- iOS: Add applePush extension automatically when push capability enabled
|
|
149
|
+
- iOS: fix crash on iOS < 10.0 in Notification API
|
|
150
|
+
- iOS: add and support Apple's barcode recognizing as default in barcode extension
|
|
151
|
+
- iOS: add rake option for use security tool with temporary keychain
|
|
152
|
+
- iOS: fix Node.JS JS API call from WebView
|
|
153
|
+
- iOS: fix archive issue with public header
|
|
154
|
+
- Win32: Rho::Keyboard.setOpenKeyboard API added
|
|
155
|
+
- Win32: support for start_maximized option in rhoconfig
|
|
156
|
+
- Win32: support for w32_hide_menu_bar option in rhoconfig
|
|
157
|
+
- Win32: fix for fullscreen mode
|
|
158
|
+
- SQLite: fix error when migrating app to new SQLite version
|
|
159
|
+
- RhoSim: fix Rho::Application.rhoPlatformVersion
|
|
160
|
+
- RubyVM: fix deadlock when acquiring GVL
|
|
161
|
+
|
|
162
|
+
7.0.0.beta10
|
|
163
|
+
- Android: support HTTP for local Ruby server
|
|
164
|
+
- Android: accept third-party cookies when targeted to SDK>=21
|
|
165
|
+
- Android: fix issue with removing image from gallery after choosePicture
|
|
166
|
+
- iOS: fix issue with capture volume keys
|
|
167
|
+
- iOS: prefer old key when use_deprecated_encryption
|
|
168
|
+
- Build: fix Rhoruby crash on Windows 10
|
|
169
|
+
|
|
170
|
+
7.0.0.beta5
|
|
171
|
+
- Sailfish: Rhodes now supports building apps for Sailfish OS on Win32 and OSX
|
|
172
|
+
- Sailfish: Camera extension supported
|
|
173
|
+
- Sailfish: Barcode extension supported
|
|
174
|
+
- Sailfish: RhoConnect client extension supported
|
|
175
|
+
- Sailfish: Bluetooth extension supported
|
|
176
|
+
- Sailfish: SignatureCapture extension supported
|
|
177
|
+
- Ruby/common: Updated serialport extension to v1.4.0
|
|
178
|
+
- Ruby/common: Updated Ruby Date extension
|
|
179
|
+
- Win32: Bluetooth lock fix
|
|
180
|
+
- Win32: CURL fix
|
|
181
|
+
- Android: Support NDK 16 and 17
|
|
182
|
+
- Android: Build system fixes/updates for new build tools
|
|
183
|
+
- Common: Bluetooth API extracted to separate extension
|
|
184
|
+
- Common: Added System.getRhoPlatformVersion API
|
|
185
|
+
- Android: Running WebView.currentURL in UI thread
|
|
186
|
+
- iOS: Add Image frameworks to project template
|
|
187
|
+
- SQLite: Changing sqlite page size with encryption for back compatibility. For using old page size in DB type 'use_deprecated_encryption: 1' in build.yml
|
|
188
|
+
- Android: Security fixes
|
|
189
|
+
- iOS: Fix invalid PPI value
|
|
190
|
+
- Build: Fix potential deadlock invoking minifier
|
|
191
|
+
- Rhoconnect Push: some additional checks and fixes for new Androids
|
|
192
|
+
- Ruby/common: Bundle encryption some fixes and Ruby helper for reading encrypted files
|
|
193
|
+
- Ruby/common: Added Sensors.readData API
|
|
194
|
+
- iOS: Added 'emulatortarget' setting for build.yml
|
|
195
|
+
- Android: Encrypt schema files with BundleEncryption
|
|
196
|
+
- iOS: Support for iPhone XS, XS Max, XR
|
|
197
|
+
- Android: Updated default min/target SDK levels for generated apps
|
|
198
|
+
- iOS: Fix WebView.navigate with long URL query
|
|
199
|
+
- iOS: Fix issue with missing DB encryption key when restoring from backup
|
|
200
|
+
- Win32: Threading fix
|
|
201
|
+
- Android: Implemented bsd_signal to run with openssl.so on some Androids
|
|
202
|
+
- Common: Various fixes
|
|
203
|
+
|
|
204
|
+
6.0.58
|
|
205
|
+
- iOS: XCode 10 support
|
|
206
|
+
- iOS: Support for iOS 12
|
|
207
|
+
- Rho: added Application.getRhoPlatformVersion property
|
|
208
|
+
- fix: skip encryption for empty bundle files
|
|
209
|
+
- fix: correctly parse int64 values for Ruby JSON
|
|
210
|
+
- Win32: fixing threading for RhoSim
|
|
211
|
+
- Rho: increase logging performance
|
|
212
|
+
- Android: updating ProGuard rules
|
|
213
|
+
- Win32: cancel uninstalling until app is closed
|
|
214
|
+
- Android: reduce logging spam from file API
|
|
215
|
+
- Android: support prebuilt jars for extensions
|
|
216
|
+
- Rho: increase SQLite3 performance
|
|
217
|
+
- Win32: fixing RhoSim JS bridge
|
|
218
|
+
|
|
219
|
+
6.0.55
|
|
220
|
+
- iOS: support FCM Push
|
|
221
|
+
- iOS: support ZXing engine
|
|
222
|
+
- iOS: support video resolution options in videocapture
|
|
223
|
+
- iOS: fix Node.js build
|
|
224
|
+
- iOS: remove context methods use from OpenSSL libs by Apple's requirements for AppStore
|
|
225
|
+
- iOS: add NSPhotoLibraryAddUsageDescription key to default Info.plist
|
|
226
|
+
- iOS: support Media.asset icons
|
|
227
|
+
- RhoSimulator: binaries are updated for every further release
|
|
228
|
+
- RhoSimulator: updated QT version to 5.9.5 LTS
|
|
229
|
+
- RhoSimulator: fix user-agents
|
|
230
|
+
- Win32: updated QT version to 5.9.5 LTS
|
|
231
|
+
- Win32: fixes in thread for timers and some other stuff
|
|
232
|
+
- Ruby VM: fix - prevent VM crash if Common API object is not available. Raise Ruby exception instead
|
|
233
|
+
- Ruby VM: adding missing IO methods
|
|
234
|
+
- Android: improve support of Android Studio
|
|
235
|
+
- Android: escape 4-byte UTF sequences as binary for JSON
|
|
236
|
+
- Android : Added intent chooser option
|
|
237
|
+
- json: fix escaping. Treat invalid UTF bytes as binary, leave valid UTF8 intact
|
|
238
|
+
- DB: fix updating source model in source model table
|
|
239
|
+
- DB: fix couple of multithreading issues
|
|
240
|
+
- DB: support AES-256 encryption
|
|
241
|
+
- lots of fixes
|
|
242
|
+
|
|
243
|
+
6.0.30
|
|
244
|
+
- Rhodes gem: updating nokogiri dependency version to 1.8.2
|
|
245
|
+
- Android: setting android:exported to 'false' for services in manifest.
|
|
246
|
+
- Android: adding "allowBackup" to build.yml. True by default. Using: "allowBackup: false" in android section.
|
|
247
|
+
- update sqlite3 to 3.22
|
|
248
|
+
- fix memory corruption for issue in sqlite3
|
|
249
|
+
- Win32: updating rhosimulator
|
|
250
|
+
- iOS: updating Ruby config for better support of 32/64bit archs
|
|
251
|
+
- iOS: fixing Ruby Date and Time capacity issues
|
|
252
|
+
- Win32: thread force closing modification
|
|
253
|
+
- http server: fix Ruby multithreading by releasing GVL lock on listening socket select
|
|
254
|
+
- minor fixes
|
|
255
|
+
|
|
256
|
+
6.0.22
|
|
257
|
+
- libOpenSSL updated to v1.1.0h
|
|
258
|
+
- libSQLite updated to v3.20.1
|
|
259
|
+
- libCurl updated to v7.55.1
|
|
260
|
+
- libJson-C updated to v0.8
|
|
261
|
+
- Ruby: adding thread.rb stub to allow requires
|
|
262
|
+
- FCM: support cold start callbacks
|
|
263
|
+
- iOS: allow system language in system UI elements inside application (copy/paste buttons etc.)
|
|
264
|
+
- Android: supporting both old and new AVD creation CLI
|
|
265
|
+
- UWP: fixing async JS invoking
|
|
266
|
+
- Gemspec: updating rest-client version
|
|
267
|
+
- Gemspec: updating rubyzip version
|
|
268
|
+
- iOS, Android: System info APIs
|
|
269
|
+
- iOS, Android: added UTF-16/32 encoders and transcoders to Ruby VM
|
|
270
|
+
- iOS, Android: WebView cookie management APIs
|
|
271
|
+
- Build: fix build script for make gem
|
|
272
|
+
- iOS: Decrease log output during iOS building without --trace
|
|
273
|
+
- Ruby: force UTF-8 encoding for returned strings in SQLite and CommonAPI
|
|
274
|
+
- Android: support native debug for android studio
|
|
275
|
+
- Android: fixing apk upload error handling
|
|
276
|
+
- Android: fixing intent issue with video capture path
|
|
277
|
+
- Win32: updating Rhosimulator
|
|
278
|
+
- iOS: remove restricted API usage - fix AppStore submit issue
|
|
279
|
+
- Build: fix exception when no rhobuild.yml in root gem folder
|
|
280
|
+
- Android: videocapture fix
|
|
281
|
+
- Android: adding Barcode.ReleaseEMDKOnPause setting
|
|
282
|
+
- Android: refactor AVD creation; will use most recent available AVD image if requested was not found
|
|
283
|
+
- iOS: fix build on system where no any provisioning installed
|
|
284
|
+
- Android: changes to support SDK updates
|
|
285
|
+
- Tau extensions: update openssl-edge to openssl 1.1.0h
|
|
286
|
+
- Tau extensions: update crosswalk to version 23-53-589-4
|
|
287
|
+
- Continuous integration support added for Travis and AppVeyor
|
|
288
|
+
- internal platform updates
|
|
289
|
+
|
|
290
|
+
6.0.11
|
|
291
|
+
- iOS: fix direct net request issue when app activate/deactivate
|
|
292
|
+
- iOS: fix Barcode extension build
|
|
293
|
+
- Win32: timer fix
|
|
294
|
+
- RhoRuby: fixes
|
|
295
|
+
- UWP: Camera extension
|
|
296
|
+
|
|
297
|
+
6.0.5
|
|
298
|
+
- iOS: optimize time of building
|
|
299
|
+
- Win32: fix alert_play_file
|
|
300
|
+
- iOS, Android, win32, RhoSim: bigdecimal Ruby API
|
|
301
|
+
- iOS,Android: catch invalid characters in percent encoded query
|
|
302
|
+
- iOS: add new option for prevent screenshot making by multitasking switcher
|
|
303
|
+
- Android: iOS: add enableDragAndDrop WebView option
|
|
304
|
+
- Android: don't break build if Google APIs not found
|
|
305
|
+
- win32: fixing RhoRuby.exe
|
|
306
|
+
- android: removing proguard annoying messages
|
|
307
|
+
- iOS: fix issue with lost AES DB key stored in keychain when upgrade iOS
|
|
308
|
+
- iOS: fix invalid thread for network activity indicator using
|
|
309
|
+
- iOS: add iPhone X new splash for use full screen resolution
|
|
310
|
+
- UWP: timer extention
|
|
311
|
+
- Win32: fixing sound notification
|
|
312
|
+
- iOS: support receive push after application open by tap on notification
|
|
313
|
+
- iOS: fix iOS 11 SDK compilation issue
|
|
314
|
+
- iOS,Android: fix decypt bug
|
|
315
|
+
- Android: fixing Camera onCancel result
|
|
316
|
+
- UWP: sensors extension
|
|
317
|
+
- Android: Fixed google maps crash Bug #1129
|
|
318
|
+
- Android: fix getting mime types for external locations
|
|
319
|
+
|
|
1
320
|
6.0.5:
|
|
2
321
|
- iOS: optimize time of building
|
|
3
322
|
- Win32: fix alert_play_file
|
data/README.md
CHANGED
|
@@ -6,24 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
# Current state of Rhomobile solution
|
|
8
8
|
|
|
9
|
-
Currently Rhomobile solution supported and improved by TAU Technologies
|
|
9
|
+
Currently Rhomobile solution supported and improved by TAU Technologies.
|
|
10
10
|
For questions on commercial support contact [contact mail](mailto:info@tau-platform.com) or reach out to the [TAU Technologies website](http://tau-platform.com).
|
|
11
11
|
|
|
12
|
-
Current actual version is Rhomobile Suite 7.
|
|
12
|
+
Current actual version is Rhomobile Suite 7.5. [Download RMS 7.5](http://tau-platform.com/developers/downloads/)
|
|
13
13
|
|
|
14
|
-
Actual documentation located on [RMS 7.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# RhoMobile Open Source Documentation
|
|
18
|
-
|
|
19
|
-
This page contains links to documentation and source-code repositories for the RhoMobile Suite, which has been released by Zebra Technologies to the open source community.
|
|
20
|
-
|
|
21
|
-
For access to prior documentation, please visit **[Zebra's RhoMobile documentation site](http://docs.rhomobile.com/en/5.4/guide/welcome)**.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## Getting RhoMobile source code
|
|
25
|
-
|
|
26
|
-
[Getting Source Code](https://github.com/rhomobile/rhodes/blob/master/doc/oss/getting_source_code.md) - How to use git to download all the source code that Zebra is making available.
|
|
14
|
+
Actual documentation located on [RMS 7.5 documentation](http://docs.tau-platform.com/en/7.5/home)
|
|
27
15
|
|
|
28
16
|
## RhoMobile versions
|
|
29
17
|
|
data/Rakefile
CHANGED
|
@@ -4055,6 +4055,7 @@ namespace "run" do
|
|
|
4055
4055
|
|
|
4056
4056
|
namespace :rhosimulator do
|
|
4057
4057
|
|
|
4058
|
+
# run:rhosimulator:build
|
|
4058
4059
|
task :build => ["config:common"] do
|
|
4059
4060
|
|
|
4060
4061
|
RhoPackages.request 'rhosimulator'
|
|
@@ -4273,6 +4274,7 @@ namespace "run" do
|
|
|
4273
4274
|
end
|
|
4274
4275
|
end
|
|
4275
4276
|
|
|
4277
|
+
# run:rhosimulator:run
|
|
4276
4278
|
task :run, [:wait] => ["config:common"] do |t, args|
|
|
4277
4279
|
wait = args[:wait] == 'wait'
|
|
4278
4280
|
|
|
@@ -4351,6 +4353,7 @@ namespace "run" do
|
|
|
4351
4353
|
|
|
4352
4354
|
|
|
4353
4355
|
#desc "Run application on RhoSimulator"
|
|
4356
|
+
# run:rhosimulator
|
|
4354
4357
|
task :rhosimulator => ["run:rhosimulator:build", "run:rhosimulator:run"]
|
|
4355
4358
|
end
|
|
4356
4359
|
|
data/appveyor.yml
CHANGED
|
@@ -3,6 +3,35 @@ platform: x86
|
|
|
3
3
|
clone_folder: C:\TAU\rhodes
|
|
4
4
|
environment:
|
|
5
5
|
matrix:
|
|
6
|
+
- android_framework_spec_2022:
|
|
7
|
+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
8
|
+
QTDIR: C:\Qt\5.15\msvc2019
|
|
9
|
+
testable_application_repository: https://github.com/rhomobile/RMS-Testing.git
|
|
10
|
+
test_app_folder: C:\TAU\RMS-Testing\
|
|
11
|
+
test_app_subfolder: auto\feature_def\framework_spec\
|
|
12
|
+
build_command: "device:android:debug"
|
|
13
|
+
#after_build_command: "run:win32:spec"
|
|
14
|
+
app_name: framework_spec
|
|
15
|
+
target_os: android
|
|
16
|
+
target_artefact_path: C:\TAU\RMS-Testing\auto\feature_def\framework_spec\bin\target\android\
|
|
17
|
+
target_artefact_file_name: framework_spec-debug.apk
|
|
18
|
+
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
|
|
19
|
+
ANDROID_NDK_HOME: C:\PROGRA~2\Android\android-sdk\ndk\17.2.4988734
|
|
20
|
+
|
|
21
|
+
- android_system-api-samples_2022:
|
|
22
|
+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
23
|
+
QTDIR: C:\Qt\5.15\msvc2019
|
|
24
|
+
testable_application_repository: https://github.com/tauplatform/rhodes-system-api-samples.git
|
|
25
|
+
test_app_folder: C:\TAU\rhodes-system-api-samples\
|
|
26
|
+
build_command: "device:android:debug"
|
|
27
|
+
#after_build_command: "run:win32:spec"
|
|
28
|
+
app_name: SAS
|
|
29
|
+
target_os: android
|
|
30
|
+
target_artefact_path: C:\TAU\rhodes-system-api-samples\bin\target\android\
|
|
31
|
+
target_artefact_file_name: SAS-debug.apk
|
|
32
|
+
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
|
|
33
|
+
ANDROID_NDK_HOME: C:\PROGRA~2\Android\android-sdk\ndk\17.2.4988734
|
|
34
|
+
|
|
6
35
|
- win32_rhosimulator:
|
|
7
36
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
8
37
|
QTDIR: C:\Qt\5.13\msvc2017
|
|
@@ -143,35 +172,7 @@ environment:
|
|
|
143
172
|
# JAVA_HOME: C:\Program Files\Java\jdk11
|
|
144
173
|
# ANDROID_NDK_HOME: C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r17
|
|
145
174
|
|
|
146
|
-
|
|
147
|
-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
148
|
-
QTDIR: C:\Qt\5.13\msvc2017
|
|
149
|
-
testable_application_repository: https://github.com/rhomobile/RMS-Testing.git
|
|
150
|
-
test_app_folder: C:\TAU\RMS-Testing\
|
|
151
|
-
test_app_subfolder: auto\feature_def\framework_spec\
|
|
152
|
-
build_command: "device:android:debug"
|
|
153
|
-
#after_build_command: "run:win32:spec"
|
|
154
|
-
app_name: framework_spec
|
|
155
|
-
target_os: android
|
|
156
|
-
target_artefact_path: C:\TAU\RMS-Testing\auto\feature_def\framework_spec\bin\target\android\
|
|
157
|
-
target_artefact_file_name: framework_spec-debug.apk
|
|
158
|
-
JAVA_HOME: C:\Program Files\Java\jdk11
|
|
159
|
-
ANDROID_NDK_HOME: C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r17
|
|
160
|
-
|
|
161
|
-
- android_system-api-samples_2017:
|
|
162
|
-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
163
|
-
QTDIR: C:\Qt\5.13\msvc2017
|
|
164
|
-
testable_application_repository: https://github.com/tauplatform/rhodes-system-api-samples.git
|
|
165
|
-
test_app_folder: C:\TAU\rhodes-system-api-samples\
|
|
166
|
-
build_command: "device:android:debug"
|
|
167
|
-
#after_build_command: "run:win32:spec"
|
|
168
|
-
app_name: SAS
|
|
169
|
-
target_os: android
|
|
170
|
-
target_artefact_path: C:\TAU\rhodes-system-api-samples\bin\target\android\
|
|
171
|
-
target_artefact_file_name: SAS-debug.apk
|
|
172
|
-
JAVA_HOME: C:\Program Files\Java\jdk11
|
|
173
|
-
ANDROID_NDK_HOME: C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r17
|
|
174
|
-
|
|
175
|
+
|
|
175
176
|
|
|
176
177
|
build: off
|
|
177
178
|
|
|
@@ -186,9 +187,12 @@ install:
|
|
|
186
187
|
|
|
187
188
|
- IF %target_os%==android appveyor DownloadFile https://s3.amazonaws.com/files.tau-platform.com/buildenv/addon-symbol-emdk_v4.2-API-22.zip -FileName C:\TAU\emdk.zip
|
|
188
189
|
- IF %target_os%==android 7z x -y C:\TAU\emdk.zip -oC:\PROGRA~2\Android\android-sdk\add-ons\ -r
|
|
189
|
-
|
|
190
|
-
- IF %target_os%==android
|
|
191
|
-
|
|
190
|
+
- IF %target_os%==android "C:\Program Files (x86)\Java\jdk1.8.0\bin\keytool" -genkey -v -keystore %USERPROFILE%\.android\debug.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias androiddebugkey -noprompt -dname "CN=Rho-Android-appveyor-build" -storepass android -keypass android
|
|
191
|
+
- IF %target_os%==android yes | "C:\Program Files (x86)\Android\android-sdk\tools\bin\sdkmanager.bat" --licenses > nul
|
|
192
|
+
- IF %target_os%==android "C:\Program Files (x86)\Android\android-sdk\tools\bin\sdkmanager.bat" --update
|
|
193
|
+
- IF %target_os%==android "C:\Program Files (x86)\Android\android-sdk\tools\bin\sdkmanager.bat" --list
|
|
194
|
+
- IF %target_os%==android "C:\Program Files (x86)\Android\android-sdk\tools\bin\sdkmanager.bat" "ndk;17.2.4988734" "build-tools;33.0.0" "ndk-bundle" "cmake;3.18.1" > nul
|
|
195
|
+
- IF %target_os%==android set PATH=%PATH%;C:\PROGRA~2\Android\android-sdk\ndk-bundle;C:\PROGRA~2\Android\android-sdk\build-tools\33.0.0
|
|
192
196
|
|
|
193
197
|
# - Tree "C:\Program Files (x86)\Android\android-sdk\add-ons" /F
|
|
194
198
|
# - gem install rest-client --no-document -f
|
|
@@ -220,6 +224,7 @@ before_test:
|
|
|
220
224
|
- rmdir /Q /S rhoconnect-client
|
|
221
225
|
|
|
222
226
|
test_script:
|
|
227
|
+
- IF %target_os%==android set PATH=%PATH%;C:\PROGRA~2\Android\android-sdk\ndk-bundle;C:\PROGRA~2\Android\android-sdk\build-tools\33.0.0
|
|
223
228
|
- git clone -b master %testable_application_repository% %test_app_folder%
|
|
224
229
|
- cd %test_app_folder%
|
|
225
230
|
- IF DEFINED test_app_subfolder cd %test_app_subfolder%
|
data/azure-pipelines.yml
CHANGED
data/bin/rhodes-setup
CHANGED
|
@@ -3,21 +3,32 @@ require 'yaml'
|
|
|
3
3
|
require 'fileutils'
|
|
4
4
|
include FileUtils
|
|
5
5
|
|
|
6
|
-
def
|
|
6
|
+
def check_answer(answer, validations)
|
|
7
|
+
validations.each do |validation|
|
|
8
|
+
if File.exists? answer + validation
|
|
9
|
+
return true
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
return false
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def prompt_for(question, suggestion, required, validations = [""])
|
|
7
18
|
newanswer = "X"
|
|
8
19
|
|
|
9
20
|
if required
|
|
10
|
-
while not
|
|
21
|
+
while not check_answer(newanswer, validations)
|
|
11
22
|
print "#{question} (required) (#{suggestion}): "
|
|
12
23
|
newanswer = STDIN.gets.chomp!
|
|
13
24
|
newanswer = suggestion if newanswer == ""
|
|
14
|
-
STDOUT.puts "Invalid #{question}" unless
|
|
25
|
+
STDOUT.puts "Alert: Invalid #{question}" unless check_answer(newanswer, validations)
|
|
15
26
|
end
|
|
16
27
|
else
|
|
17
|
-
while newanswer != "" and not
|
|
28
|
+
while newanswer != "" and not check_answer(newanswer, validations)
|
|
18
29
|
print "#{question} (blank to skip) (#{suggestion}): "
|
|
19
30
|
newanswer = STDIN.gets.chomp!
|
|
20
|
-
STDOUT.puts "Invalid #{question}" if newanswer != "" and not
|
|
31
|
+
STDOUT.puts "Alert: Invalid #{question}" if newanswer != "" and not check_answer(newanswer, validations)
|
|
21
32
|
end
|
|
22
33
|
end
|
|
23
34
|
|
|
@@ -42,10 +53,13 @@ elsif File.exists? "/Program Files/Java"
|
|
|
42
53
|
chdir start
|
|
43
54
|
end
|
|
44
55
|
|
|
45
|
-
|
|
46
|
-
|
|
56
|
+
test_java = java.gsub(/\\/,"/")
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
java = "" unless check_answer(java, ["/lib/dt.jar", "/lib/libjava.dylib", "/lib/libjava.so", "/bin/java", "/bin/java.exe"])
|
|
47
61
|
|
|
48
|
-
java = prompt_for("JDK Path", java, false, "/lib/dt.jar")
|
|
62
|
+
java = prompt_for("JDK Path", java, false, ["/lib/dt.jar", "/lib/libjava.dylib", "/lib/libjava.so", "/bin/java", "/bin/java.exe"])
|
|
49
63
|
|
|
50
64
|
java = File.join( java, 'bin' ) if java
|
|
51
65
|
|
|
@@ -37,15 +37,24 @@ public class EMDK3Extension extends AbstractRhoExtension implements EMDKListener
|
|
|
37
37
|
private void aquireEmdkManager()
|
|
38
38
|
{
|
|
39
39
|
Logger.D(TAG, "aquireEmdkManager+ Context: " + RhoExtManager.getImplementationInstance().getContext());
|
|
40
|
-
|
|
41
|
-
if(statusCode != EMDKResults.STATUS_CODE.SUCCESS)
|
|
40
|
+
try
|
|
42
41
|
{
|
|
43
|
-
|
|
42
|
+
statusCode = EMDKManager.getEMDKManager(RhoExtManager.getImplementationInstance().getContext(), this).statusCode;
|
|
43
|
+
if(statusCode != EMDKResults.STATUS_CODE.SUCCESS)
|
|
44
|
+
{
|
|
45
|
+
Logger.E(TAG, "EMDKManager could not be aquired: " + statusCode.name());
|
|
46
|
+
}
|
|
47
|
+
else
|
|
48
|
+
{
|
|
49
|
+
isAquiringEmdkManager = true;
|
|
50
|
+
}
|
|
44
51
|
}
|
|
45
|
-
|
|
52
|
+
catch( Exception e )
|
|
46
53
|
{
|
|
47
|
-
|
|
54
|
+
statusCode = EMDKResults.STATUS_CODE.FAILURE;
|
|
55
|
+
Logger.E(TAG, "EMDKManager could not be aquired: " + e.getMessage());
|
|
48
56
|
}
|
|
57
|
+
|
|
49
58
|
Logger.D(TAG, "aquireEmdkManager- Status Code: " + statusCode);
|
|
50
59
|
}
|
|
51
60
|
|