Compare commits

...

4 Commits

Author SHA1 Message Date
Nick 6b00d20907 new version 3.17.02 2025-01-07 16:52:14 +01:00
Nick 9f739666da new version 3.16.14 2024-12-20 12:44:39 +01:00
Nick e29db5e2dd new version 3.16.13 2024-11-20 16:00:06 +01:00
Nick fe5421353b new version 2024-10-29 09:47:03 +01:00
13 changed files with 67198 additions and 89930 deletions

View File

@ -279,7 +279,9 @@ public class YourActivity extends TaActivity {
## Troubleshooting Guide ## Troubleshooting Guide
1. **Google Play Services Build Issues**: If you encounter build issues related to Google Play Services versions, consider adding the following setting to your `build.gradle` file: 1. **Google Play Services Build Issues**
If you encounter build issues related to Google Play Services versions, consider adding the following setting to your `build.gradle` file:
```java ```java
android { android {
@ -291,13 +293,17 @@ android {
} }
``` ```
2. **Java Base Access Error**: If you receive an error during the build process that reads `Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module`, add the `--add-opens=java.base/java.io=ALL-UNNAMED` option to the `org.gradle.jvmargs` entry in your `gradle.properties` file: 2. **Java Base Access Error**
If you receive an error during the build process that reads `Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module`, add the `--add-opens=java.base/java.io=ALL-UNNAMED` option to the `org.gradle.jvmargs` entry in your `gradle.properties` file:
```plaintext ```plaintext
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 --add-opens=java.base/java.io=ALL-UNNAMED org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 --add-opens=java.base/java.io=ALL-UNNAMED
``` ```
3. **Orientation Change Crash**: If your application crashes when the orientation changes, add the following attributes to your activity in the Android manifest: 3. **Orientation Change Crash**
If your application crashes when the orientation changes, add the following attributes to your activity in the Android manifest:
```plaintext ```plaintext
configChanges="...|screenLayout|screenSize|smallestScreenSize" configChanges="...|screenLayout|screenSize|smallestScreenSize"
@ -305,7 +311,9 @@ configChanges="...|screenLayout|screenSize|smallestScreenSize"
For more information, refer to this [GitHub issue comment](https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-923950313). For more information, refer to this [GitHub issue comment](https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-923950313).
4. **Background or Awakening Crash**: If your application crashes when it moves to the background or wakes up, try adding the following to your activity: 4. **Background or Awakening Crash**
If your application crashes when it moves to the background or wakes up, try adding the following to your activity:
```java ```java
@Override @Override
@ -315,7 +323,9 @@ protected void onCreate(Bundle savedInstanceState) {
``` ```
For more information, refer to this [GitHub issue comment](https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-424704067). For more information, refer to this [GitHub issue comment](https://github.com/software-mansion/react-native-screens/issues/17#issuecomment-424704067).
4. **Duplicate class**: If build fails due to `java.lang.RuntimeException: Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt ...`: 5. **Duplicate class**
If build fails due to `java.lang.RuntimeException: Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt ...`:
Add the following line to you `app/build.gradle` Add the following line to you `app/build.gradle`
@ -329,6 +339,42 @@ dependencies {
``` ```
For more information, refer to this [GitHub issue comment](https://gist.github.com/danielcshn/7aa57155d766d46c043fde015f054d40). For more information, refer to this [GitHub issue comment](https://gist.github.com/danielcshn/7aa57155d766d46c043fde015f054d40).
6. **Android 14 Path traversal issue**
For apps targeting Android 14 (API level 34) or higher, Android prevents the `Zip Path Traversal Vulnerability` in the following way: `ZipFile(String)` and `ZipInputStream.getNextEntry()` throws a `ZipException` if zip file entry names contain ".." or start with "/".
Apps can opt-out from this validation by calling `dalvik.system.ZipPathValidator.clearCallback()`. For more information, refer to the [official Android documentation](https://developer.android.com/about/versions/14/behavior-changes-14#zip-path-traversal).
As the SDK might download zips including ".." or "/" in the entry name we need to add these lines at app startup.
```java
if (Build.VERSION.SDK_INT >= 34) {
ZipPathValidator.clearCallback();
}
```
We suggest to add to you activity in the `onCreate` method.
```java
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
if (Build.VERSION.SDK_INT >= 34) {
ZipPathValidator.clearCallback();
}
if(taFragment == null) {
...
}
...
}
```
## Authors ## Authors
Nicolò Aquilini, iOS Software developer, Tecnavia Nicolò Aquilini, iOS Software developer, Tecnavia
Andrea Mauri, Android Software developer, Tecnavia Andrea Mauri, Android Software developer, Tecnavia

View File

@ -45,13 +45,6 @@ publishing {
artifact("$libsDirName/react-native-android-open-settings-release.aar") artifact("$libsDirName/react-native-android-open-settings-release.aar")
} }
tareactnativeappsettings(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-app-settings'
version '2.0.1'
artifact("$libsDirName/react-native-app-settings-release.aar")
}
tareactnativeasyncstorageasyncstorage(MavenPublication) { tareactnativeasyncstorageasyncstorage(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-async-storage_async-storage' artifactId 'react-native-async-storage_async-storage'
@ -66,13 +59,6 @@ publishing {
artifact("$libsDirName/react-native-color-matrix-image-filters-release.aar") artifact("$libsDirName/react-native-color-matrix-image-filters-release.aar")
} }
tareactnativecommunityart(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-community_art'
version '1.2.0'
artifact("$libsDirName/react-native-community_art-release.aar")
}
tareactnativecommunitydatetimepicker(MavenPublication) { tareactnativecommunitydatetimepicker(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-community_datetimepicker' artifactId 'react-native-community_datetimepicker'
@ -90,7 +76,7 @@ publishing {
tareactnativecommunitynetinfo(MavenPublication) { tareactnativecommunitynetinfo(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-community_netinfo' artifactId 'react-native-community_netinfo'
version '5.9.10' version '11.4.1'
artifact("$libsDirName/react-native-community_netinfo-release.aar") artifact("$libsDirName/react-native-community_netinfo-release.aar")
} }
@ -181,7 +167,7 @@ publishing {
tareactnativepagerview(MavenPublication) { tareactnativepagerview(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-pager-view' artifactId 'react-native-pager-view'
version '6.1.4' version '6.4.1'
artifact("$libsDirName/react-native-pager-view-release.aar") artifact("$libsDirName/react-native-pager-view-release.aar")
} }
@ -237,14 +223,14 @@ publishing {
tareactnativesvg(MavenPublication) { tareactnativesvg(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-svg' artifactId 'react-native-svg'
version '12.1.0' version '15.7.1'
artifact("$libsDirName/react-native-svg-release.aar") artifact("$libsDirName/react-native-svg-release.aar")
} }
tareactnativetecnaviautils(MavenPublication) { tareactnativetecnaviautils(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-tecnavia-utils' artifactId 'react-native-tecnavia-utils'
version '1.2.1' version '1.3.1'
artifact("$libsDirName/react-native-tecnavia-utils-release.aar") artifact("$libsDirName/react-native-tecnavia-utils-release.aar")
} }
@ -258,7 +244,7 @@ publishing {
tareactnativetts(MavenPublication) { tareactnativetts(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-tts' artifactId 'react-native-tts'
version '4.1.0' version '4.1.1'
artifact("$libsDirName/react-native-tts-release.aar") artifact("$libsDirName/react-native-tts-release.aar")
} }
@ -293,7 +279,7 @@ publishing {
tareactnativewebview(MavenPublication) { tareactnativewebview(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'react-native-webview' artifactId 'react-native-webview'
version '11.17.2' version '12.4.0'
artifact("$libsDirName/react-native-webview-release.aar") artifact("$libsDirName/react-native-webview-release.aar")
} }
@ -307,7 +293,7 @@ publishing {
tatecnaviareactnativebridge(MavenPublication) { tatecnaviareactnativebridge(MavenPublication) {
groupId 'tecnavia' groupId 'tecnavia'
artifactId 'tecnavia_react-native-bridge' artifactId 'tecnavia_react-native-bridge'
version '1.3.6' version '1.3.8'
artifact("$libsDirName/tecnavia_react-native-bridge-release.aar") artifact("$libsDirName/tecnavia_react-native-bridge-release.aar")
} }
@ -466,13 +452,11 @@ def amazonSdkVersion = safeExtGet("amazonSdkVersion", "3.0.3")
dependencies { dependencies {
implementation "tecnavia:react-native-android-open-settings:1.3.0" implementation "tecnavia:react-native-android-open-settings:1.3.0"
implementation "tecnavia:react-native-app-settings:2.0.1"
implementation "tecnavia:react-native-async-storage_async-storage:2.0.0" implementation "tecnavia:react-native-async-storage_async-storage:2.0.0"
implementation "tecnavia:react-native-color-matrix-image-filters:6.0.9" implementation "tecnavia:react-native-color-matrix-image-filters:6.0.9"
implementation "tecnavia:react-native-community_art:1.2.0"
implementation "tecnavia:react-native-community_datetimepicker:6.7.5" implementation "tecnavia:react-native-community_datetimepicker:6.7.5"
implementation "tecnavia:react-native-community_image-editor:2.3.0" implementation "tecnavia:react-native-community_image-editor:2.3.0"
implementation "tecnavia:react-native-community_netinfo:5.9.10" implementation "tecnavia:react-native-community_netinfo:11.4.1"
implementation "tecnavia:react-native-community_slider:2.0.9" implementation "tecnavia:react-native-community_slider:2.0.9"
implementation "tecnavia:react-native-config:1.4.11" implementation "tecnavia:react-native-config:1.4.11"
implementation "tecnavia:react-native-cookies_cookies:6.2.0" implementation "tecnavia:react-native-cookies_cookies:6.2.0"
@ -485,7 +469,7 @@ dependencies {
implementation "tecnavia:react-native-image-marker:0.9.2" implementation "tecnavia:react-native-image-marker:0.9.2"
implementation "tecnavia:react-native-linear-gradient:2.8.3" implementation "tecnavia:react-native-linear-gradient:2.8.3"
implementation "tecnavia:react-native-mail:6.1.1" implementation "tecnavia:react-native-mail:6.1.1"
implementation "tecnavia:react-native-pager-view:6.1.4" implementation "tecnavia:react-native-pager-view:6.4.1"
implementation "tecnavia:react-native-photo-view-ex:1.1.0" implementation "tecnavia:react-native-photo-view-ex:1.1.0"
implementation "tecnavia:react-native-reanimated:2.17.0" implementation "tecnavia:react-native-reanimated:2.17.0"
implementation "tecnavia:react-native-safe-area-context:3.3.2" implementation "tecnavia:react-native-safe-area-context:3.3.2"
@ -493,17 +477,17 @@ dependencies {
implementation "tecnavia:react-native-share:10.2.1" implementation "tecnavia:react-native-share:10.2.1"
implementation "tecnavia:react-native-splash-screen:3.2.0" implementation "tecnavia:react-native-splash-screen:3.2.0"
implementation "tecnavia:react-native-sqlite-storage:3.3.10" implementation "tecnavia:react-native-sqlite-storage:3.3.10"
implementation "tecnavia:react-native-svg:12.1.0" implementation "tecnavia:react-native-svg:15.7.1"
implementation "tecnavia:react-native-tecnavia-utils:1.2.1" implementation "tecnavia:react-native-tecnavia-utils:1.3.1"
implementation "tecnavia:react-native-text-size:3.0.0" implementation "tecnavia:react-native-text-size:3.0.0"
implementation "tecnavia:react-native-tts:4.1.0" implementation "tecnavia:react-native-tts:4.1.1"
implementation "tecnavia:react-native-uuid-generator:6.1.1" implementation "tecnavia:react-native-uuid-generator:6.1.1"
implementation "tecnavia:react-native-vector-icons:8.1.0" implementation "tecnavia:react-native-vector-icons:8.1.0"
implementation "tecnavia:react-native-video:5.2.1" implementation "tecnavia:react-native-video:5.2.1"
implementation "tecnavia:react-native-volume-control:1.0.1" implementation "tecnavia:react-native-volume-control:1.0.1"
implementation "tecnavia:react-native-webview:11.17.2" implementation "tecnavia:react-native-webview:12.4.0"
implementation "tecnavia:rn-fetch-blob:0.11.2" implementation "tecnavia:rn-fetch-blob:0.11.2"
api "tecnavia:tecnavia_react-native-bridge:1.3.6" api "tecnavia:tecnavia_react-native-bridge:1.3.8"
implementation "tecnavia:tecnavia_react-native-default-preference:1.5.0" implementation "tecnavia:tecnavia_react-native-default-preference:1.5.0"
implementation "tecnavia:tecnavia_react-native-dfp:1.5.0" implementation "tecnavia:tecnavia_react-native-dfp:1.5.0"
implementation "tecnavia:tecnavia_react-native-geolocation:3.0.1" implementation "tecnavia:tecnavia_react-native-geolocation:3.0.1"

View File

@ -1,7 +1,7 @@
android.useAndroidX=true android.useAndroidX=true
APP_NAME=Android SDK APP_NAME=Android SDK
APP_VERSION_NAME=3.16.08 APP_VERSION_NAME=3.17.02
APP_VERSION_CODE=1729492829858 APP_VERSION_CODE=1736264169881
ANDROID_APP_ID=com.tecnaviaapplication ANDROID_APP_ID=com.tecnaviaapplication
IS_ADDON=true IS_ADDON=true

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,8 @@
com.facebook.react.shell.MainReactPackage com.facebook.react.shell.MainReactPackage
com.rtmalone.volumecontrol.RNVolumeControlPackage com.rtmalone.volumecontrol.RNVolumeControlPackage
com.levelasquez.androidopensettings.AndroidOpenSettingsPackage com.levelasquez.androidopensettings.AndroidOpenSettingsPackage
com.krazylabs.OpenAppSettingsPackage
com.chirag.RNMail.RNMail com.chirag.RNMail.RNMail
net.no_mad.tts.TextToSpeechPackage net.no_mad.tts.TextToSpeechPackage
com.idehub.GoogleAnalyticsBridge.GoogleAnalyticsBridgePackage
com.lugg.ReactNativeConfig.ReactNativeConfigPackage com.lugg.ReactNativeConfig.ReactNativeConfigPackage
org.pgsqlite.SQLitePluginPackage org.pgsqlite.SQLitePluginPackage
com.swmansion.gesturehandler.react.RNGestureHandlerPackage com.swmansion.gesturehandler.react.RNGestureHandlerPackage
@ -12,7 +10,6 @@ com.prebidlibrary.RNPrebidPackage
com.oblador.vectoricons.VectorIconsPackage com.oblador.vectoricons.VectorIconsPackage
com.reactcommunity.rndatetimepicker.RNDateTimePickerPackage com.reactcommunity.rndatetimepicker.RNDateTimePickerPackage
com.reactnativecommunity.asyncstorage.AsyncStoragePackage com.reactnativecommunity.asyncstorage.AsyncStoragePackage
com.reactnativecommunity.art.ARTPackage
com.reactnativecommunity.imageeditor.ImageEditorPackage com.reactnativecommunity.imageeditor.ImageEditorPackage
com.reactnativecommunity.netinfo.NetInfoPackage com.reactnativecommunity.netinfo.NetInfoPackage
com.reactnativecommunity.slider.ReactSliderPackage com.reactnativecommunity.slider.ReactSliderPackage