Skip to content

Commit fe58021

Browse files
committed
Ver. 1.0.3 build 10
1 parent cab1dca commit fe58021

File tree

95 files changed

+131
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+131
-44
lines changed

.babelrc

100644100755
File mode changed.

.gitignore

100644100755
File mode changed.

.watchmanconfig

100644100755
File mode changed.

App.js

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React from 'react'
33
import { createStackNavigator, createBottomTabNavigator } from 'react-navigation'
44
import { YellowBox, AppRegistry, AppState, NetInfo } from 'react-native'
55
import store from 'react-native-simple-store'
6+
import DeviceInfo from 'react-native-device-info'
67

78
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader', 'Class RCTCxxModule']);
89

@@ -59,7 +60,8 @@ export default class App extends React.Component {
5960
global.port = 7403;
6061
global.ip = "13.57.248.201";
6162
global.ecl = new ElectrumCli(global.port, global.ip, 'tcp');
62-
global.version = "1.0.3";
63+
global.version = DeviceInfo.getVersion();
64+
global.build = DeviceInfo.getBuildNumber();
6365
global.connectionStatus = false;
6466

6567
global.ecl.connect().then(() => this.ping)

README.md

100644100755
File mode changed.

android/MicroBitcoin.iml

100644100755
File mode changed.

android/app/BUCK

100644100755
File mode changed.

android/app/app.iml

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp-urlconnection:3.6.0@jar" level="project" />
149149
<orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-1.3.0" level="project" />
150150
<orderEntry type="library" name="Gradle: com.koushikdutta.async:androidasync:2.1.6@jar" level="project" />
151+
<orderEntry type="module" module-name="react-native-device-info" />
151152
<orderEntry type="module" module-name="react-native-vector-icons" />
152153
<orderEntry type="module" module-name="react-native-randombytes" />
153154
<orderEntry type="module" module-name="react-native-tcp" />

android/app/build.gradle

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ android {
101101
applicationId "com.microbitcoin"
102102
minSdkVersion 16
103103
targetSdkVersion 27
104-
versionCode 9
104+
versionCode 10
105105
versionName "1.0.3"
106106
ndk {
107107
abiFilters "armeabi-v7a", "x86"
@@ -148,6 +148,7 @@ android {
148148
}
149149

150150
dependencies {
151+
compile project(':react-native-device-info')
151152
compile project(':react-native-tcp')
152153
implementation (project(':react-native-camera')) {
153154
exclude group: "com.android.support"

android/app/proguard-rules.pro

100644100755
File mode changed.

0 commit comments

Comments
 (0)