Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
d532a8d6bb | |
|
3001d8e107 |
20
README.md
20
README.md
|
@ -12,17 +12,18 @@ Android SDK
|
||||||
|
|
||||||
<a name="import"></a>
|
<a name="import"></a>
|
||||||
## Import
|
## 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)
|
You must use git to download the sdk from [repository](https://pubgit.newsmemory.com/tecnavia/newsmemory-android-sdk)
|
||||||
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)
|
1. Inside root folder run the following command:
|
||||||
|
|
||||||
```sh
|
```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
|
```sh
|
||||||
cd newsmemory-android-sdk
|
cd newsmemory-android-sdk
|
||||||
git checkout tags/TAG
|
git checkout tags/3.18.14
|
||||||
```
|
```
|
||||||
<a name="installation"></a>
|
<a name="installation"></a>
|
||||||
## Installation
|
## Installation
|
||||||
|
@ -238,6 +239,9 @@ public class YourActivity extends AppCompatActivity {
|
||||||
//set the SDK referrer for GA4 analytics
|
//set the SDK referrer for GA4 analytics
|
||||||
bundle.putString(TaConstants.TA_REFERRER, "referrer");
|
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¶m2=value2¶m3=value3");
|
||||||
|
|
||||||
return bundle;
|
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
|
the following constant can be used for debug builds ONLY, to monitor the load time performances
|
||||||
```java
|
```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*
|
1. The activity that load TaFragment must implement the following interface *DefaultHardwareBackBtnHandler*
|
||||||
|
|
|
@ -286,7 +286,7 @@ publishing {
|
||||||
tatecnaviareactnativebridge(MavenPublication) {
|
tatecnaviareactnativebridge(MavenPublication) {
|
||||||
groupId 'tecnavia'
|
groupId 'tecnavia'
|
||||||
artifactId 'tecnavia_react-native-bridge'
|
artifactId 'tecnavia_react-native-bridge'
|
||||||
version '1.3.11'
|
version '1.3.12'
|
||||||
artifact("$libsDirName/tecnavia_react-native-bridge-release.aar")
|
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-volume-control:1.0.1"
|
||||||
implementation "tecnavia:react-native-webview:12.4.0"
|
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.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-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"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
|
|
||||||
APP_NAME=Android SDK
|
APP_NAME=Android SDK
|
||||||
APP_VERSION_NAME=3.18.12
|
APP_VERSION_NAME=3.18.14
|
||||||
APP_VERSION_CODE=1744382517288
|
APP_VERSION_CODE=1744811405810
|
||||||
ANDROID_APP_ID=com.tecnaviaapplication
|
ANDROID_APP_ID=com.tecnaviaapplication
|
||||||
IS_ADDON=true
|
IS_ADDON=true
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue