Skip to content

Commit

Permalink
Merge pull request #27 from VerusCoin/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Asherda authored Dec 31, 2019
2 parents bd8aac5 + 0268f92 commit a9c0888
Show file tree
Hide file tree
Showing 364 changed files with 10,278 additions and 3,508 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ stages:
- build

variables:
VERSION: 0.1.8-beta
VERSION: 0.1.9-beta
POST_MESSAGE: "Pipeline Trigger: ${CI_PIPELINE_SOURCE}\n
Branch: ${CI_COMMIT_REF_NAME}\n
Commit: ${CI_COMMIT_SHA}\n
Expand Down
58 changes: 58 additions & 0 deletions __mocks__/react-native-fetch/fetch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
const mocked_results = require('./mocked_results/mocked_results.js')
const DEFAULT_ELECTRUM_SERVER_VERSION = ["ElectrumX"]

/**
* Mock of the react-native-fetch http call function. If the URL is an electrum string,
* it will parse the electrum data, and use it to return mock electrum data. Possible
* electrum servers follow the format status:<success||fail>-code:<result code>-eproto:<electrum protocol version>-params:<stringified parameter object to pass to mock function>
* @param {String} url The full URL to fetch. Test commands should be included in here
* @param {Object} payload Fetch type, body, headers etc.
*/
const fetch = function(url, payload) {

if (url.endsWith('mock.proxy.server')) {
return new Promise((resolve) => (resolve({status: 200})))
}

const original_ip_regex = /\/{1}[^\/\n]+?\//
const url_ip = url.match(original_ip_regex)[0].slice(1,-1)

if (url_ip == 'mock.proxy.server') {
const url_params_regex = /&[^\/\n]+?$/
const electrum_cmd_regex = /api\/{1}[^\n]+?\?/
const electrum_cmd = url.match(electrum_cmd_regex)[0].slice(4,-1).replace('/', '_')
const electrum_params = url.match(url_params_regex)[0].slice(1).split('&')
let params_obj = {}

electrum_params.map((param) => {
const param_split = param.split('=')
params_obj[param_split[0]] = param_split[1]
})

return new Promise((resolve) => {
const test_params = JSON.parse(params_obj.ip.replace(/\|/g, ':'))
const mock_function = mocked_results[electrum_cmd]

if (test_params.success) {
if (test_params.params[electrum_cmd] == null) throw new Error(`No params specified for ${electrum_cmd} command. Please include them when calling mock fetch, or set them to [] to use the commands passed to the function.`)
else if (test_params.params[electrum_cmd].length === 0) {
//If params are left empty, call mock function with default supplied params sorted in alphabetical order by their key names
delete params_obj.ip
delete params_obj.port
delete params_obj.proto

let supplied_params = Object.keys(params_obj).sort()
supplied_params = supplied_params.map((value_key) => params_obj[value_key])

resolve({json: () => {return {msg: 'success', result: mock_function(...supplied_params)}}})
} else resolve({json: () => {return {msg: 'success', result: mock_function(...test_params.params[electrum_cmd])}}})
} else {
resolve({json: () => {return {msg: 'error', result: `code ${test_params.code}: ${test_params.error_msg}`}}})
}
})
} else {
throw new Error("Test fetch function called with incompatible mock parameters, try using the real fetch function.")
}
}

module.exports = fetch
900 changes: 900 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/blockchain_data.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions __mocks__/react-native-fetch/mocked_results/estimatefee.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//TODO: Add mock for estimatefee
10 changes: 10 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/getbalance.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* This returns a getbalance result based on the supplied confirmed and unconfirmed balances
* @param {Number} confirmed Confirmed balance to return
* @param {Number} unconfirmed Unconfirmed balance to return
*/
const getbalance_mock = function(confirmed, unconfirmed) {
return {confirmed, unconfirmed}
}

module.exports = getbalance_mock
14 changes: 14 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/getblockinfo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const gotten_blocks = require('./blockchain_data').gotten_blocks

/**
* The mock for getblockinfo. This function searches through the mock block list, and returns a block info object if it is found.
* @param {Integer} height The blockheight of the block to get. If found in the mock block list, its info will be returned.
*/
const getblockinfo_mock = function(height) {
if (Number(height) < 0 || Number(height) % 1 != 0) return {"code":1,"message":`${height} should be a non-negative integer`}
if (gotten_blocks.hasOwnProperty(height)) return gotten_blocks[height]

return {"code":1,"message":`height ${height} out of range`}
}

module.exports = getblockinfo_mock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* This returns a getcurrentblock result based on the supplied height
* @param {Number} height The blockheight you would like returned from the API call
*/
const getcurrentblock_mock = function(height) {
return height
}

module.exports = getcurrentblock_mock
15 changes: 15 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/getmerkle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const merkle_roots = require('./blockchain_data').merkle_roots

/**
* The mock for getmerkle. This function searches through the mock merkle root list, and returns a merkle root if it is found.
* @param {Integer} height The blockheight of the utxo to fetch merkle hashes for.
* @param {String} txid The txid string of the transaction to fetch merkle hashes for.
*/
const getmerkle_mock = function(height, txid) {
if (merkle_roots.hasOwnProperty(`${txid}-${height}`)) return merkle_roots[`${txid}-${height}`]

return {"code":1,"message":`${txid} should be a transaction hash`}
}


module.exports = getmerkle_mock
13 changes: 13 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/gettransaction.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const gotten_utxos = require('./blockchain_data').gotten_utxos

/**
* The mock for gettransaction. This function searches through the mock UTXO list, and returns a transaction hash if it is found.
* @param {String} txid The txid string of the transaction to get. If found in the mock UTXO list, its hash will be returned.
*/
const gettransaction_mock = function(txid) {
if (gotten_utxos.hasOwnProperty(txid)) return gotten_utxos[txid]

return { status: 'not found' }
}

module.exports = gettransaction_mock
17 changes: 17 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/listtransactions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const transaction_list = require('./blockchain_data').transaction_list

/**
* Mocks an electrum call to listtransactions, and returns a specified number
* of transactions
* @param {Integer} num_txs The number of txs to return
*/
const listtransactions_mock = function(num_txs) {
let returned_txs = []
for (let i = 0; i < num_txs; i++) {
returned_txs.push(transaction_list[Math.round(Math.random() * (transaction_list.length - 1))])
}

return returned_txs
}

module.exports = listtransactions_mock
17 changes: 17 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/listunspent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const unspent_utxos = require('./blockchain_data').unspent_utxos

/**
* Mocks an electrum call to listunspent, and returns a specified number
* of unspent UTXOs
* @param {Integer} num_utxos The number of unspent utxos to return
*/
const listunspent_mock = function(num_utxos) {
let returned_utxos = []
for (let i = 0; i < num_utxos; i++) {
returned_utxos.push(unspent_utxos[Math.round(Math.random() * (unspent_utxos.length - 1))])
}

return returned_utxos
}

module.exports = listunspent_mock
19 changes: 19 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/mocked_results.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const getbalance_mock = require("./getbalance.js")
const getblockinfo_mock = require("./getblockinfo.js")
const getcurrentblock_mock = require("./getcurrentblock.js")
const getmerkle_mock = require("./getmerkle.js")
const gettransaction_mock = require("./gettransaction.js")
const listtransactions_mock = require("./listtransactions.js")
const listunspent_mock = require("./listunspent.js")
const server_version_mock = require("./server_version.js")

module.exports = {
getbalance: getbalance_mock,
getblockinfo: getblockinfo_mock,
getcurrentblock: getcurrentblock_mock,
getmerkle: getmerkle_mock,
gettransaction: gettransaction_mock,
listtransactions: listtransactions_mock,
listunspent: listunspent_mock,
server_version: server_version_mock
}
1 change: 1 addition & 0 deletions __mocks__/react-native-fetch/mocked_results/pushtx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//TODO: Add mock for pushtx
11 changes: 11 additions & 0 deletions __mocks__/react-native-fetch/mocked_results/server_version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* Returns a server version object with the specified version passed in
* @param {String} version_string Server version string, traditonally in the format 'ElectrumX x.x.x'
* @param {Number} version_int (Optional) Version integer, in the format x.x. If omitted, return will be 'ElectrumX'
*/
const server_version_mock = function(version_string, version_int) {
if (version_int == null) return 'ElectrumX'
return [ version_string, version_int.toString() ]
}

module.exports = server_version_mock
Empty file modified android/.project
100644 → 100755
Empty file.
Empty file modified android/.settings/org.eclipse.buildship.core.prefs
100644 → 100755
Empty file.
Empty file modified android/app/.classpath
100644 → 100755
Empty file.
Empty file modified android/app/.project
100644 → 100755
Empty file.
Empty file modified android/app/.settings/org.eclipse.buildship.core.prefs
100644 → 100755
Empty file.
Empty file modified android/app/BUCK
100644 → 100755
Empty file.
68 changes: 45 additions & 23 deletions android/app/app.iml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -91,44 +91,66 @@
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: com.koushikdutta.async:androidasync:2.1.6@jar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:26.1.0@jar" level="project" />
<orderEntry type="library" name="Gradle: androidx.collection:collection:1.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-common:2.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: androidx.arch.core:core-common:2.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: androidx.annotation:annotation:1.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.infer.annotation:infer-annotation:0.11.2@jar" level="project" />
<orderEntry type="library" name="Gradle: javax.inject:javax.inject:1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.google.code.findbugs:jsr305:3.0.2@jar" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp-urlconnection:3.12.1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.12.1@jar" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.15.0@jar" level="project" />
<orderEntry type="library" name="Gradle: com.parse.bolts:bolts-tasks:1.4.0@jar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:common:1.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.core:common:1.0.0@jar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.react:react-native:0.59.9@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-v4:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-media-compat:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-fragment:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-ui:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-compat:26.1.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.appcompat:appcompat:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.fragment:fragment:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.vectordrawable:vectordrawable-animated:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.legacy:legacy-support-core-ui:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.legacy:legacy-support-core-utils:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.vectordrawable:vectordrawable:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.loader:loader:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.viewpager:viewpager:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.coordinatorlayout:coordinatorlayout:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.drawerlayout:drawerlayout:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.slidingpanelayout:slidingpanelayout:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.customview:customview:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.swiperefreshlayout:swiperefreshlayout:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.asynclayoutinflater:asynclayoutinflater:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.core:core:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.versionedparcelable:versionedparcelable:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-runtime:2.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.documentfile:documentfile:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.print:print:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-viewmodel:2.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata:2.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.lifecycle:lifecycle-livedata-core:2.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.arch.core:core-runtime:2.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: androidx.interpolator:interpolator:1.0.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:fresco:1.10.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-okhttp3:1.10.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:drawee:1.10.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline:1.10.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-base:1.10.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.soloader:soloader:0.6.0@aar" level="project" />
<orderEntry type="library" name="Gradle: com.facebook.fresco:fbcore:1.10.0@aar" level="project" />
<orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime:1.0.0@aar" level="project" />
<orderEntry type="module" module-name="android-@react-native-community_datetimepicker" />
<orderEntry type="module" module-name="android-react-native-text-input-mask" />
<orderEntry type="module" module-name="android-react-native-webview" />
<orderEntry type="module" module-name="android-rn-fetch-blob" />
<orderEntry type="module" module-name="react-native-image-picker" />
<orderEntry type="module" module-name="android-react-native-svg" />
<orderEntry type="module" module-name="react-native-share" />
<orderEntry type="module" module-name="react-native-fs" />
<orderEntry type="module" module-name="@react-native-community_async-storage" />
<orderEntry type="module" module-name="react-native-vector-icons" />
<orderEntry type="module" module-name="react-native-udp" />
<orderEntry type="module" module-name="react-native-tcp" />
<orderEntry type="module" module-name="react-native-svg" />
<orderEntry type="module" module-name="react-native-screens" />
<orderEntry type="module" module-name="react-native-randombytes" />
<orderEntry type="module" module-name="react-native-os" />
<orderEntry type="module" module-name="react-native-camera" />
<orderEntry type="module" module-name="android-react-native-fs" />
<orderEntry type="module" module-name="android-@react-native-community_async-storage" />
<orderEntry type="module" module-name="android-react-native-vector-icons" />
<orderEntry type="module" module-name="android-react-native-udp" />
<orderEntry type="module" module-name="android-react-native-tcp" />
<orderEntry type="module" module-name="android-react-native-screens" />
<orderEntry type="module" module-name="android-react-native-randombytes" />
<orderEntry type="module" module-name="android-react-native-os" />
<orderEntry type="module" module-name="android-react-native-camera" />
</component>
</module>
Empty file modified android/app/bin/.project
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion android/app/bin/src/main/AndroidManifest.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize">
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Empty file modified android/app/bin/src/main/assets/fonts/AntDesign.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/Entypo.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/EvilIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/FontAwesome.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/FontAwesome5_Brands.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/FontAwesome5_Regular.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/FontAwesome5_Solid.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/Foundation.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/Ionicons.ttf
100644 → 100755
Empty file.
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/MaterialIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/Octicons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/SimpleLineIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/assets/fonts/Zocial.ttf
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified android/app/bin/src/main/res/mipmap-hdpi/ic_launcher.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-hdpi/ic_launcher_round.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-mdpi/ic_launcher.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-mdpi/ic_launcher_round.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-xhdpi/ic_launcher.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-xhdpi/ic_launcher_round.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-xxhdpi/ic_launcher.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/mipmap-xxxhdpi/ic_launcher.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified android/app/bin/src/main/res/values/strings.xml
100644 → 100755
Empty file.
Empty file modified android/app/bin/src/main/res/values/styles.xml
100644 → 100755
Empty file.
13 changes: 10 additions & 3 deletions android/app/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import com.android.build.OutputFile

def versionMajor = 0
def versionMinor = 1
def versionRevision = 8
def versionBuild = 1
def versionRevision = 9
def versionBuild = 0

def keystorePropertiesFile = rootProject.file("keystore.properties");

Expand Down Expand Up @@ -156,6 +156,13 @@ android {
}

dependencies {
implementation project(':react-native-permissions')
implementation project(':react-native-gesture-handler')
implementation project(':@react-native-community_datetimepicker')
implementation project(':react-native-text-input-mask')
implementation project(':react-native-webview')
implementation project(':rn-fetch-blob')
implementation project(':react-native-image-picker')
implementation project(':react-native-svg')
implementation project(':react-native-share')
implementation project(':react-native-fs')
Expand All @@ -168,7 +175,7 @@ dependencies {
implementation project(':react-native-os')
implementation project(':react-native-camera')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:23.0.1"
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation "com.facebook.react:react-native:+" // From node_modules
}

Expand Down
Empty file modified android/app/proguard-rules.pro
100644 → 100755
Empty file.
Empty file modified android/app/release/output.json
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize"
android:windowSoftInputMode="adjustPan"
android:exported="true">
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
Expand Down
Empty file modified android/app/src/main/assets/fonts/AntDesign.ttf
100644 → 100755
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file modified android/app/src/main/assets/fonts/Entypo.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/EvilIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/FontAwesome.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/Foundation.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/Ionicons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/MaterialIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/Octicons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/SimpleLineIcons.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/assets/fonts/Zocial.ttf
100644 → 100755
Empty file.
Empty file modified android/app/src/main/java/com/verusmobile/MainActivity.java
100644 → 100755
Empty file.
Loading

0 comments on commit a9c0888

Please sign in to comment.