Skip to content

Commit

Permalink
android: replace AndroidManifest.xml
Browse files Browse the repository at this point in the history
move requisites and permissions to plugin.xml
  • Loading branch information
enricogior authored Feb 20, 2018
1 parent adbe081 commit c159d1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
4 changes: 4 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>

<edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk" mode="merge">
<uses-sdk android:minSdkVersion="21" />
</edit-config>

<source-file src="src/android/java/com/janeasystems/cdvnodejsmobile/NodeJS.java" target-dir="src/com/janeasystems/cdvnodejsmobile/" />

<source-file src="src/common/cordova-bridge/cordova-bridge.h" target-dir="src/com/janeasystems/cdvnodejsmobile/jni/" />
Expand Down
12 changes: 0 additions & 12 deletions src/android/AndroidManifest.xml

This file was deleted.

7 changes: 2 additions & 5 deletions src/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ buildscript {
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
minSdkVersion 21
targetSdkVersion 25
versionCode 1
versionName "1.0"
externalNativeBuild {
Expand Down

0 comments on commit c159d1b

Please sign in to comment.