update readme

This commit is contained in:
amauri 2024-04-10 10:52:02 +02:00
commit cb094228c6
1 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ maven {
| playServiceBaseVersion | 18.0.1 | | | playServiceBaseVersion | 18.0.1 | |
| **The following variables are used if you include on of the optional library listed in description** | | **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 | | playServiceAnalyticsVersion | 18.0.1 | react-native-google-analytics-bridge |
| playServiceAdsVersion | 20.2.0 | react-native-prebid, react-native-dfp, react-native-admob | | playServiceAdsVersion | 20.6.0 | react-native-prebid, react-native-dfp, react-native-admob |
| playServiceMapsVersion | 17.0.0 | react-native-maps | | playServiceMapsVersion | 17.0.0 | react-native-maps |
| playBillingVersion | 5.0.0 | react-native-iap for google | | playBillingVersion | 5.0.0 | react-native-iap for google |
| amazonSdkVersion | 3.0.3 | react-native-iap for amazon | | amazonSdkVersion | 3.0.3 | react-native-iap for amazon |
@ -192,7 +192,7 @@ public class YourActivity extends AppCompatActivity {
.setDelegate(new TaFragmentDelegate() { .setDelegate(new TaFragmentDelegate() {
@Override @Override
public void recreate() { public void recreate() {
recreate(); YourActivity.this.recreate();
} }
@Override @Override
@ -238,7 +238,7 @@ public class YourActivity extends AppCompatActivity {
bundle.putString(TaConstants.TA_MACHINE, "replace_with_server"); bundle.putString(TaConstants.TA_MACHINE, "replace_with_server");
bundle.putString(TaConstants.TA_LOCALE, "en"); bundle.putString(TaConstants.TA_LOCALE, "en");
bundle.putString(TaConstants.TA_TOKEN, "replace with a valid token"); bundle.putString(TaConstants.TA_TOKEN, "replace with a valid token");
//the value inside R.string will be avilable after first build //the value inside R.string will be available after first build
bundle.putString(TaConstants.TA_APP_VERSION_NAME, getString(com.tecnavia.sdk.R.string.APP_VERSION_NAME)); bundle.putString(TaConstants.TA_APP_VERSION_NAME, getString(com.tecnavia.sdk.R.string.APP_VERSION_NAME));
bundle.putString(TaConstants.TA_APP_VERSION_CODE, getString(com.tecnavia.sdk.R.string.APP_VERSION_CODE)); bundle.putString(TaConstants.TA_APP_VERSION_CODE, getString(com.tecnavia.sdk.R.string.APP_VERSION_CODE));
bundle.putString(TaConstants.TA_ANDROID_APP_ID,getString(com.tecnavia.sdk.R.string.ANDROID_APP_ID)); bundle.putString(TaConstants.TA_ANDROID_APP_ID,getString(com.tecnavia.sdk.R.string.ANDROID_APP_ID));
@ -257,7 +257,7 @@ the following constant is required by SDK to be authorized
bundle.putString(TaConstants.TA_API_KEY, ""); bundle.putString(TaConstants.TA_API_KEY, "");
``` ```
the following constants are required by SDK otherwise there will be some inconsinstecies and bugs the following constants are required by SDK otherwise there will be some inconsistencies and bugs
```java ```java
bundle.putString(TaConstants.TA_APP_VERSION_NAME, getString(com.tecnavia.sdk.R.string.APP_VERSION_NAME)); bundle.putString(TaConstants.TA_APP_VERSION_NAME, getString(com.tecnavia.sdk.R.string.APP_VERSION_NAME));