Compare commits

...

3 Commits

Author SHA1 Message Date
Nick d532a8d6bb Update README.md 2025-04-17 10:50:13 +02:00
Nick 3001d8e107 new version 3.18.14 2025-04-16 16:12:01 +02:00
Nick 8b746f6219 new version 3.18.12 2025-04-11 16:58:44 +02:00
12 changed files with 20717 additions and 19588 deletions

View File

@ -12,17 +12,18 @@ Android SDK
<a name="import"></a>
## Import
You must use git to download the sdk from [repository](https://github.com/tecnaviapress/newsmemory-android-sdk)
1. The repository is private, to clone it you must generate an ssh key, see the [guide](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
2. Once the key is generate you must send to Tecnavia the public key and wait a confirmation that you are enabled
3. Inside root folder run the following command, replace TAG with the latest release, see the list on [releases](https://github.com/tecnaviapress/newsmemory-android-sdk/releases)
You must use git to download the sdk from [repository](https://pubgit.newsmemory.com/tecnavia/newsmemory-android-sdk)
1. Inside root folder run the following command:
```sh
git clone --depth 1 --brach TAG git@github.com:tecnaviapress/newsmemory-android-sdk.git
git clone --depth 1 --branch 3.18.14 https://pubgit.newsmemory.com/tecnavia/newsmemory-android-sdk.git
```
4. if you already has the module you could update to another release by the following commands
2. if you already has the module you could update to another release by the following commands
```sh
cd newsmemory-android-sdk
git checkout tags/TAG
git checkout tags/3.18.14
```
<a name="installation"></a>
## Installation
@ -39,7 +40,7 @@ buildscript {
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
classpath "com.android.tools.build:gradle:7.2.1"
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"
@ -238,6 +239,9 @@ public class YourActivity extends AppCompatActivity {
//set the SDK referrer for GA4 analytics
bundle.putString(TaConstants.TA_REFERRER, "referrer");
//querystring-like list of parameters to pass to GA4 analytics
bundle.putString(TaConstants.TA_EXTRA_GA4_PARAMS, "param1=value1&param2=value2&param3=value3");
return bundle;
}
}
@ -259,7 +263,7 @@ the following constants are required by SDK otherwise there will be some inconsi
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);
bundle.putBoolean(TaConstants.TA_ENABLE_DEBUGGER, true);
```
1. The activity that load TaFragment must implement the following interface *DefaultHardwareBackBtnHandler*

View File

@ -11,7 +11,7 @@ buildscript {
}*/
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
classpath "com.android.tools.build:gradle:7.2.1"
classpath "com.google.gms:google-services:4.3.4"
//use the version suggested by react-native-firebase
//classpath "com.google.firebase:firebase-crashlytics-gradle:2.3.0"
@ -286,7 +286,7 @@ publishing {
tatecnaviareactnativebridge(MavenPublication) {
groupId 'tecnavia'
artifactId 'tecnavia_react-native-bridge'
version '1.3.11'
version '1.3.12'
artifact("$libsDirName/tecnavia_react-native-bridge-release.aar")
}
@ -479,7 +479,7 @@ dependencies {
implementation "tecnavia:react-native-volume-control:1.0.1"
implementation "tecnavia:react-native-webview:12.4.0"
implementation "tecnavia:rn-fetch-blob:0.11.2"
api "tecnavia:tecnavia_react-native-bridge:1.3.11"
api "tecnavia:tecnavia_react-native-bridge:1.3.12"
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.18.09
APP_VERSION_CODE=1742893448916
APP_VERSION_NAME=3.18.14
APP_VERSION_CODE=1744811405810
ANDROID_APP_ID=com.tecnaviaapplication
IS_ADDON=true

File diff suppressed because one or more lines are too long