Skip to content

Commit

Permalink
#237: Fix android build process
Browse files Browse the repository at this point in the history
  • Loading branch information
generalpiston committed Jun 25, 2019
1 parent 86eb9ef commit 299104c
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 584 deletions.
46 changes: 23 additions & 23 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,30 +168,30 @@ android {
}

dependencies {
implementation project(':react-native-app-auth')
implementation project(':react-native-svg')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "com.android.support:appcompat-v7:28.0.0-alpha3"
implementation "com.android.support:support-v4:28.0.0-alpha3"
implementation "com.android.support:design:28.0.0-alpha3"
implementation project(':react-native-navigation')
implementation project(':react-native-background-timer')
implementation project(':react-native-uuid-generator')
implementation project(':react-native-restart')
implementation project(':react-native-device-info')
implementation project(':react-native-google-analytics-bridge')
implementation project(':react-native-exception-handler')
implementation project(':react-native-randombytes')
implementation project(':react-native-vector-icons')
implementation "com.github.walleth.kethereum:base58:0.53"
implementation "com.github.walleth.kethereum:bip39:0.53"
implementation "com.github.walleth.kethereum:bip32:0.53"
implementation "com.github.walleth.kethereum:wallet:0.53"
implementation "com.github.walleth.kethereum:eip155:0.53"
implementation "com.github.walleth.kethereum:crypto:0.53"
implementation "org.bouncycastle:bcprov-jdk15on:1.59"
implementation 'org.apache.commons:commons-lang3:3.7'
implementation ("com.facebook.react:react-native:+")
implementation ("com.android.support:appcompat-v7:28.0.0-alpha3")
implementation ("com.android.support:support-v4:28.0.0-alpha3")
implementation ("com.android.support:design:28.0.0-alpha3")
implementation (project(':react-native-app-auth'))
implementation (project(':react-native-svg'))
implementation (project(':react-native-navigation'))
implementation (project(':react-native-background-timer'))
implementation (project(':react-native-uuid-generator'))
implementation (project(':react-native-restart'))
implementation (project(':react-native-device-info'))
implementation (project(':react-native-google-analytics-bridge'))
implementation (project(':react-native-exception-handler'))
implementation (project(':react-native-randombytes'))
implementation (project(':react-native-vector-icons'))
implementation ("com.github.walleth.kethereum:base58:0.53")
implementation ("com.github.walleth.kethereum:bip39:0.53")
implementation ("com.github.walleth.kethereum:bip32:0.53")
implementation ("com.github.walleth.kethereum:wallet:0.53")
implementation ("com.github.walleth.kethereum:eip155:0.53")
implementation ("com.github.walleth.kethereum:crypto:0.53")
implementation ("org.bouncycastle:bcprov-jdk15on:1.59")
implementation ("org.apache.commons:commons-lang3:3.7")
}

// Run this once to be able to run the application with BUCK
Expand Down
6 changes: 4 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.mobidex">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="io.mobidex">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
Expand All @@ -18,7 +18,9 @@
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustResize"
android:appComponentFactory="androidx"
tools:replace="android:appComponentFactory">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
googlePlayServicesVersion = "16.0.0"
}

repositories {
Expand Down
Loading

0 comments on commit 299104c

Please sign in to comment.