Compare commits

..

No commits in common. "main" and "3.16.08" have entirely different histories.

13 changed files with 89990 additions and 67258 deletions

View File

@ -279,9 +279,7 @@ public class YourActivity extends TaActivity {
## 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
android {
@ -293,17 +291,13 @@ 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
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
configChanges="...|screenLayout|screenSize|smallestScreenSize"
@ -311,9 +305,7 @@ 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).
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
@Override
@ -323,9 +315,7 @@ 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).
5. **Duplicate class**
If build fails due to `java.lang.RuntimeException: Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt ...`:
4. **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`
@ -339,42 +329,6 @@ dependencies {
```
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
Nicolò Aquilini, iOS Software developer, Tecnavia
Andrea Mauri, Android Software developer, Tecnavia

View File

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

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

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