new build

This commit is contained in:
Nick 2024-10-21 10:03:15 +02:00
parent bbed22fe99
commit 8a7bf386d8
21 changed files with 59 additions and 73 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -43,7 +43,7 @@ buildscript {
classpath "com.google.gms:google-services:4.3.4"
//add crashlytics only if the aar file is included
classpath "com.google.firebase:firebase-crashlytics-gradle:2.3.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
}
}
@ -86,10 +86,10 @@ maven {
| soLoaderVersion | 0.10.1 | used to load needed system native libraries |
| okHttpVersion | 4.9.2 | |
| glideVersion | 4.12.0 | |
| kotlinGradleVersion | 1.5.0 | |
| kotlinVersion | 1.4.0 | |
| kotlinGradleVersion | 1.9.0 | |
| kotlinVersion | 1.9.0 | |
| webkitVersion | 1.4.0 | |
| androidxVersion | 1.5.0 | |
| androidxVersion | 1.8.0 | |
| androidxWorkRuntimeVersion | 1.5.0 | |
| androidxAnnotationVersion | 1.4.0 | |
| androidxViewpager2Version | 1.0.0 | |
@ -105,14 +105,14 @@ maven {
| **The following variables are used if you include on of the optional library listed in description** |
| playServiceAnalyticsVersion | 18.0.1 | react-native-google-analytics-bridge |
| playServiceAdsVersion | 20.6.0 | react-native-prebid, react-native-dfp, react-native-admob |
| playServiceMapsVersion | 17.0.0 | react-native-maps |
| playServiceMapsVersion | 18.0.2 | react-native-maps |
| playBillingVersion | 5.0.0 | react-native-iap for google |
| amazonSdkVersion | 3.0.3 | react-native-iap for amazon |
```java
ext {
compileSdk = 34
androidxVersion = "1.4.0"
androidxVersion = "1.8.0"
...
}
```
@ -253,6 +253,11 @@ the following constants are required by SDK otherwise there will be some inconsi
bundle.putBoolean(TaConstants.TA_IS_ADDON, true);
```
the following constant can be used for debug builds ONLY, to monitor the load time performances
```java
bundle.putBoolean(TaConstants.TA_ENABLE_DEBUGGER_KEY, true);
```
1. The activity that load TaFragment must implement the following interface *DefaultHardwareBackBtnHandler*
```java
public class YourActivity extends AppCompatActivity implements DefaultHardwareBackBtnHandler {
@ -308,9 +313,22 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(null);
}
```
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 ...`:
Add the following line to you `app/build.gradle`
```java
dependencies {
...
// Fix Duplicate class
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
}
```
For more information, refer to this [GitHub issue comment](https://gist.github.com/danielcshn/7aa57155d766d46c043fde015f054d40).
## Authors
Nicolò Aquilini, iOS Software developer, Tecnavia
Andrea Mauri, Android Software developer, Tecnavia

View File

@ -1,5 +1,5 @@
buildscript {
def kotlinGradleVersion = rootProject.ext.has("kotlinGradleVersion") ? rootProject.ext.get("kotlinGradleVersion") : "1.5.0"
def kotlinGradleVersion = rootProject.ext.has("kotlinGradleVersion") ? rootProject.ext.get("kotlinGradleVersion") : "1.9.0"
if(rootProject == project) {
repositories {
@ -55,14 +55,14 @@ publishing {
tareactnativeasyncstorageasyncstorage(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-async-storage_async-storage'
version '1.23.1'
version '2.0.0'
artifact("$libsDirName/react-native-async-storage_async-storage-release.aar")
}
tareactnativecolormatriximagefilters(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-color-matrix-image-filters'
version '5.2.10'
version '6.0.9'
artifact("$libsDirName/react-native-color-matrix-image-filters-release.aar")
}
@ -115,13 +115,6 @@ publishing {
artifact("$libsDirName/react-native-cookies_cookies-release.aar")
}
tareactnativedarkmode(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-dark-mode'
version '0.2.2'
artifact("$libsDirName/react-native-dark-mode-release.aar")
}
tareactnativedeviceinfo(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-device-info'
@ -157,13 +150,6 @@ publishing {
artifact("$libsDirName/react-native-gesture-handler-release.aar")
}
tareactnativehtmltopdf(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-html-to-pdf'
version '0.12.0'
artifact("$libsDirName/react-native-html-to-pdf-release.aar")
}
tareactnativeidletimer(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-idle-timer'
@ -209,7 +195,7 @@ publishing {
tareactnativereanimated(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-reanimated'
version '1.13.3'
version '2.17.0'
artifact("$libsDirName/react-native-reanimated-release.aar")
}
@ -223,14 +209,14 @@ publishing {
tareactnativescreens(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-screens'
version '3.13.1'
version '3.32.0'
artifact("$libsDirName/react-native-screens-release.aar")
}
tareactnativeshare(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-share'
version '7.9.1'
version '10.2.1'
artifact("$libsDirName/react-native-share-release.aar")
}
@ -258,7 +244,7 @@ publishing {
tareactnativetecnaviautils(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-tecnavia-utils'
version '1.2.0'
version '1.2.1'
artifact("$libsDirName/react-native-tecnavia-utils-release.aar")
}
@ -293,7 +279,7 @@ publishing {
tareactnativevideo(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native-video'
version '5.1.1'
version '5.2.1'
artifact("$libsDirName/react-native-video-release.aar")
}
@ -321,7 +307,7 @@ publishing {
tatecnaviareactnativebridge(MavenPublication) {
groupId 'tecnavia'
artifactId 'tecnavia_react-native-bridge'
version '1.3.2'
version '1.3.6'
artifact("$libsDirName/tecnavia_react-native-bridge-release.aar")
}
@ -356,7 +342,7 @@ publishing {
tatecnaviareactnativepdf(MavenPublication) {
groupId 'tecnavia'
artifactId 'tecnavia_react-native-pdf'
version '5.1.7'
version '5.1.8'
artifact("$libsDirName/tecnavia_react-native-pdf-release.aar")
}
@ -374,13 +360,6 @@ publishing {
artifact("$libsDirName/tecnavia_react-native-web-analytics-release.aar")
}
tatecnaviareactnativeworkaround(MavenPublication) {
groupId 'tecnavia'
artifactId 'tecnavia_react-native-workaround'
version '0.0.2'
artifact("$libsDirName/tecnavia_react-native-workaround-release.aar")
}
tatecnaviareactnativeziparchive(MavenPublication) {
groupId 'tecnavia'
artifactId 'tecnavia_react-native-zip-archive'
@ -391,15 +370,15 @@ publishing {
tareactnative(MavenPublication) {
groupId 'tecnavia'
artifactId 'react-native'
version '0.67.5'
version '0.70.15'
artifact("$libsDirName/react-native-release.aar")
}
tahermes(MavenPublication) {
taandroidjsc(MavenPublication) {
groupId 'tecnavia'
artifactId 'hermes'
artifactId 'android-jsc'
version '1.0.0'
artifact("$libsDirName/hermes-release.aar")
artifact("$libsDirName/android-jsc-release.aar")
}
}
@ -453,11 +432,6 @@ android {
it.resValue 'string', 'IS_ADDON', IS_ADDON
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
repositories {
@ -469,9 +443,9 @@ def frescoVersion = safeExtGet("frescoVersion", "2.5.0")
def soLoaderVersion = safeExtGet("soLoaderVersion","0.10.1")
def okHttpVersion = safeExtGet("okHttpVersion", "4.9.2")
def glideVersion = safeExtGet("glideVersion", "4.12.0")
def kotlinVersion = safeExtGet("kotlinVersion", "1.4.0")
def kotlinVersion = safeExtGet("kotlinVersion", "1.9.0")
def webkitVersion = safeExtGet("webkitVersion", "1.4.0")
def androidxVersion = safeExtGet("androidxVersion", "1.5.0")
def androidxVersion = safeExtGet("androidxVersion", "1.8.0")
def androidxWorkRuntimeVersion = safeExtGet("androidxWorkRuntimeVersion", "2.7.0")
def androidxAnnotationVersion = safeExtGet("androidxAnnotationVersion", "1.4.0")
def androidxViewpager2Version = safeExtGet("androidxViewpager2Version", "1.0.0")
@ -486,15 +460,15 @@ def playServiceiidVersion = safeExtGet("playServiceiidVersion", "17.0.0")
def playServiceBaseVersion = safeExtGet("playServiceBaseVersion", "18.0.1")
def playServiceAnalyticsVersion = safeExtGet("playServiceAnalyticsVersion", "18.0.1")
def playServiceAdsVersion = safeExtGet("playServiceAdsVersion", "20.2.0")
def playServiceMapsVersion = safeExtGet("playServiceMapsVersion", "17.0.0")
def playServiceMapsVersion = safeExtGet("playServiceMapsVersion", "18.0.2")
def playBillingVersion = safeExtGet("playBillingVersion", "5.0.0")
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:1.23.1"
implementation "tecnavia:react-native-color-matrix-image-filters:5.2.10"
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"
@ -502,50 +476,45 @@ dependencies {
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"
implementation "tecnavia:react-native-dark-mode:0.2.2"
implementation "tecnavia:react-native-device-info:8.7.1"
implementation "tecnavia:react-native-dynamic-fonts:0.3.2"
implementation "tecnavia:react-native-fast-image:8.5.11"
implementation "tecnavia:react-native-fs:2.20.0"
implementation "tecnavia:react-native-gesture-handler:1.10.3"
implementation "tecnavia:react-native-html-to-pdf:0.12.0"
implementation "tecnavia:react-native-idle-timer:2.1.6"
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.1.4"
implementation "tecnavia:react-native-photo-view-ex:1.1.0"
implementation "tecnavia:react-native-reanimated:1.13.3"
implementation "tecnavia:react-native-reanimated:2.17.0"
implementation "tecnavia:react-native-safe-area-context:3.3.2"
implementation "tecnavia:react-native-screens:3.13.1"
implementation "tecnavia:react-native-share:7.9.1"
implementation "tecnavia:react-native-screens:3.32.0"
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:12.1.0"
implementation "tecnavia:react-native-tecnavia-utils:1.2.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.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.1.1"
implementation "tecnavia:react-native-video:5.2.1"
implementation "tecnavia:react-native-volume-control:1.0.1"
implementation "tecnavia:react-native-webview:11.17.2"
implementation "tecnavia:rn-fetch-blob:0.11.2"
api "tecnavia:tecnavia_react-native-bridge:1.3.2"
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"
implementation "tecnavia:tecnavia_react-native-navigation-bar-color:2.0.2"
implementation "tecnavia:tecnavia_react-native-pdf:5.1.7"
implementation "tecnavia:tecnavia_react-native-pdf:5.1.8"
implementation "tecnavia:tecnavia_react-native-print:0.6.1"
implementation "tecnavia:tecnavia_react-native-web-analytics:1.0.2"
implementation "tecnavia:tecnavia_react-native-workaround:0.0.2"
implementation "tecnavia:tecnavia_react-native-zip-archive:5.2.0"
api "tecnavia:react-native:0.67.5"
implementation "tecnavia:hermes:1.0.0"
api "tecnavia:react-native:0.70.15"
implementation "tecnavia:android-jsc:1.0.0"
//the below dependencies works, if you change the versions something could not work well
implementation "org.webkit:android-jsc:+"
//androidx dependencies
implementation "javax.inject:javax.inject:1"
implementation "androidx.autofill:autofill:1.1.0"
@ -603,5 +572,5 @@ dependencies {
implementation "net.lingala:zip4j:1.3.3"
implementation "com.jakewharton.timber:timber:4.7.1"
implementation "me.relex:photodraweeview:1.1.3"
implementation "com.yqritc:android-scalablevideoview:1.0.4"
implementation 'com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b'
}

View File

@ -1,7 +1,7 @@
android.useAndroidX=true
APP_NAME=Android SDK
APP_VERSION_NAME=3.15.01
APP_VERSION_CODE=1724848144010
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.

Binary file not shown.

Binary file not shown.

View File

@ -29,12 +29,11 @@ com.tecnavia.push.PushPackage
com.tecnavialibrary.comscore.ComscorePackage
com.tecnavia.dailymotion.sdk.ReactNativeDailymotionSdkPackage
iyegoroff.RNColorMatrixImageFilters.ColorMatrixImageFiltersPackage
com.codemotionapps.reactnativedarkmode.DarkModePackage
com.dfplibrary.RNDfpPackage
com.dylanvann.fastimage.FastImageViewPackage
com.facebook.reactnative.androidsdk.FBSDKPackage
com.christopherdro.htmltopdf.RNHTMLtoPDFPackage
com.dooboolab.RNIap.RNIapPackage
com.dooboolab.rniap.RNIapPackage
com.marcshilling.idletimer.IdleTimerPackage
com.BV.LinearGradient.LinearGradientPackage
com.airbnb.android.react.maps.MapsPackage
@ -58,5 +57,4 @@ com.wenkesj.voice.VoicePackage
com.reactnativecommunity.webview.RNCWebViewPackage
com.RNFetchBlob.RNFetchBlobPackage
com.blueconic.reactnative.BlueConicClientPackage
com.tecnavia.chartbeat.ChartBeatPackage
com.tecnavia.workaround.WorkaroundPackage
com.tecnavia.chartbeat.ChartBeatPackage