diff --git a/README.md b/README.md
index a49cd64e..ebb28ac1 100644
--- a/README.md
+++ b/README.md
@@ -82,88 +82,47 @@ The release can be found here: https://github.com/ApryseSDK/pdftron-react-native
1. Add the following in your `android/app/build.gradle` file:
- ```diff
- android {
- ndkVersion rootProject.ext.ndkVersion
+ ```diff
+ defaultConfig {
+ applicationId "com.example.myapp"
+ minSdkVersion rootProject.ext.minSdkVersion
+ targetSdkVersion rootProject.ext.targetSdkVersion
+ versionCode 1
+ versionName "1.0.0"
+
+ + resValue("string", "PDFTRON_LICENSE_KEY", "\"LICENSE_KEY_GOES_HERE\"")
+ }
+ ```
- compileSdkVersion rootProject.ext.compileSdkVersion
-
- defaultConfig {
- applicationId "com.reactnativesample"
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 1
- versionName "1.0"
- buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
- + multiDexEnabled true
- + manifestPlaceholders = [pdftronLicenseKey:PDFTRON_LICENSE_KEY]
- }
- ...
- }
- ...
-
- dependencies {
- + implementation "androidx.multidex:multidex:2.0.1"
- ...
- }
- ```
-
-2. In your `android/gradle.properties` file, add the following line:
- ```diff
- # Add the PDFTRON_LICENSE_KEY variable here.
- # For trial purposes leave it blank.
- # For production add a valid commercial license key.
- PDFTRON_LICENSE_KEY=
- ```
-3. Add the following to your `android/app/src/main/AndroidManifest.xml` file:
-
- ```diff
-
-
-
-
- +
-
- +
-
-
-
-
- +
-
-
-
-
-
-
-
-
-
-
- ```
-
-4. In your `android/app/src/main/java/com/myapp/MainApplication.java` file, change `Application` to `MultiDexApplication`:
-
- ```diff
- - import android.app.Application;
- + import androidx.multidex.MultiDexApplication;
- ...
- - public class MainApplication extends Application implements ReactApplication {
- + public class MainApplication extends MultiDexApplication implements ReactApplication {
- ```
-
-5. Replace `App.js` (or `App.tsx`) with what is shown for [NPM](#Usage-NPM) or [GitHub](#Usage-Github)
-6. Finally in the root project directory, run `react-native run-android`.
+2. Add the following to your `android/app/src/main/AndroidManifest.xml` file:
+
+ ```diff
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+ ...
+
+
+ ```
+
+3. Replace `App.js` (or `App.tsx`) with what is shown for [NPM](#Usage-NPM) or [GitHub](#Usage-Github)
+4. Finally in the root project directory, run `react-native run-android`.
### iOS
diff --git a/package.json b/package.json
index aa2fb16a..51d8e203 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "react-native-pdftron",
"title": "React Native Pdftron",
- "version": "3.0.4-17",
+ "version": "3.0.4-18",
"description": "React Native Pdftron",
"main": "./lib/index.js",
"typings": "index.ts",