8000 Dev by phwizard · Pull Request #25 · dappros/ethora · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dev #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 97 commits into from
Oct 25, 2021
Merged

Dev #25

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
978e81e
Direct message feature
Aug 5, 2021
9c44d74
Draggable chats and storing they positions in realm
Aug 5, 2021
677708d
Profile name changing posibillity
Aug 5, 2021
a29ee60
Merge branch 'dev' into featuresSync
4RGUS Aug 9, 2021
b9e13b4
Merge pull request #3 from dappros/featuresSync
4RGUS Aug 9, 2021
bbb1ad9
New Application token
4RGUS Aug 10, 2021
e11c695
Nft history
Aug 10, 2021
0178cad
Nft sending and minting fixes
Aug 10, 2021
6704eb5
merging
Aug 10, 2021
e40dff9
Transactions displaying
Aug 10, 2021
e65f84a
Merge pull request #4 from dappros/featuresSync
4RGUS Aug 16, 2021
1bbee9f
Bigger image attachments
Aug 16, 2021
3abdac4
System message centering and coins positioning
Aug 16, 2021
9715986
Transactions fixing
Aug 16, 2021
3249b17
updated document picker version
4RGUS Aug 16, 2021
2dcc4c9
Enabled items transfering by option
Aug 16, 2021
2855160
Merge branch 'dev' into featuresSync
4RGUS Aug 16, 2021
8000
37cb5bc
Merge pull request #5 from dappros/featuresSync
4RGUS Aug 16, 2021
35d6200
Chat name changing feature
Aug 25, 2021
0af2637
File preview
Aug 25, 2021
742b67c
User banning and storing roles
Aug 25, 2021
2d2ea4b
removed file
Sep 6, 2021
78071ef
Mint fixed
Sep 9, 2021
00f5c30
video duration
Sep 10, 2021
0312f59
Audio duration
Sep 10, 2021
b966239
changed logo
Sep 29, 2021
2cb44d6
Login screen updated with background image and logo. Removed logo fro…
Sep 30, 2021
ac68afc
app icon, splash screen, minor optimisation
4RGUS Sep 30, 2021
66f4f38
Universal chat link and other ui and bugs resolved
4RGUS Oct 4, 2021
6bcbca9
Minor optimisations
Oct 18, 2021
e4b5dea
Merge pull request #24 from dappros/featuresSync
4RGUS Oct 18, 2021
c1c584f
added copyright and license notice
phwizard Oct 21, 2021
a9f1b63
Update App.js
phwizard Oct 21, 2021
8d42bb9
Update routes.js
phwizard Oct 24, 2021
0945b63
Update AppIntro.js
phwizard Oct 24, 2021
34dcdac
Update AuthLoadingScreen.js
phwizard Oct 24, 2021
ab09ac2
Update NftItemHistory.js
phwizard Oct 24, 2021
9e9fcae
Update anotherUserProfileScreen.js
phwizard Oct 24, 2021
b5b8f23
Update chat.js
phwizard Oct 24, 2021
73cfc25
Update chatHome.js
phwizard Oct 24, 2021
f7d54b4
Update createNewChat.js
phwizard Oct 24, 2021
87bfd22
Update login.js
phwizard Oct 24, 2021
a6d7bd0
Update mintItems.js
phwizard Oct 24, 2021
dc133ac
Update profileScreen.js
phwizard Oct 24, 2021
f0bd282
Update qrCodeGenerator.js
phwizard Oct 24, 2021
48f2234
Update qrcodescreen.js
phwizard Oct 24, 2021
5f74f54
Update settingsScreen.js
phwizard Oct 24, 2021
3152b9a
Update transactionScreen.js
phwizard Oct 24, 2021
5c7d393
Update chatHomeStyle.js
phwizard Oct 24, 2021
cd85715
Create chatHomeStyle.js
phwizard Oct 24, 2021
ebf4a52
Update createNewChatStyle.js
phwizard Oct 24, 2021
fe163b4
Update loginStyle.js
phwizard Oct 24, 2021
d55e737
Update scanStyle.js
phwizard Oct 24, 2021
04bdb57
Update accountAction.js
phwizard Oct 24, 2021
4cf7a2a
Update auth.js
phwizard Oct 24, 2021
424e77d
Update chatAction.js
phwizard Oct 24, 2021
4dd64a5
Update searchAction.js
phwizard Oct 24, 2021
188f2cf
Update usersAction.js
phwizard Oct 24, 2021
955787e
Update wallet.js
phwizard Oct 24, 2021
292f2ae
Update MessageBody.js
phwizard Oct 24, 2021
a383b7f
Update MessageBubble.js
phwizard Oct 24, 2021
559e6e8
Update NftTransactionsHistoryComponent.js
phwizard Oct 24, 2021
f7e857d
Update SystemMessage.js
phwizard Oct 24, 2021
6cd7ae9
Update TransactionListComponent.js
phwizard Oct 24, 2021
5ace0fc
Update pushController.js
phwizard Oct 24, 2021
03292f8
Update screenContents.js
phwizard Oct 24, 2021
9e2ad33
Update allSchemas.js
phwizard Oct 24, 2021
a70980b
Update chatList.js
phwizard Oct 24, 2021
71ed397
Update messages.js
phwizard Oct 24, 2021
7dee0a0
Update transaction.js
phwizard Oct 24, 2021
fb890a3
Update PrivacyPolicy.js
phwizard Oct 24, 2021
63c9558
Update commonModal.js
phwizard Oct 24, 2021
e3c389c
Update customButtons.js
phwizard Oct 24, 2021
5738806
Update customHeader.js
phwizard Oct 24, 2021
9903452
Update customTextInputs.js
phwizard Oct 24, 2021
ebffe63
Update defaultHeader.js
phwizard Oct 24, 2021
571d741
Update api.js
phwizard Oct 24, 2021
18f9149
Update store.js
phwizard Oct 24, 2021
aba9775
Update url.js
phwizard Oct 24, 2021
0594818
Update colors.js
phwizard Oct 24, 2021
21bb3f2
Update realmConstants.js
phwizard Oct 24, 2021
e404028
Update types.js
phwizard Oct 24, 2021
ea5621c
Update xmppConstants.js
phwizard Oct 24, 2021
255c51e
Update downloadFileLogic.js
phwizard Oct 24, 2021
0c4f5fb
Update openChatFromChatLink.js
phwizard Oct 24, 2021
8d9fcaf
Update parseChatLink.js
phwizard Oct 24, 2021
ea9228c
Update underscoreLogic.js
phwizard Oct 24, 2021
8727abd
Update xmppCentral.js
phwizard Oct 24, 2021
b6cb78d
Update xmppStanzaRequestMessages.js
phwizard Oct 24, 2021
3e0b72a
Update accountReducer.js
phwizard Oct 24, 2021
e636052
Update chatReducer.js
phwizard Oct 24, 2021
b1d0c03
Update index.js
phwizard Oct 24, 2021
ae45372
Update loginReducer.js
phwizard Oct 24, 2021
399ce52
Update searchReducer.js
phwizard Oct 24, 2021
a067d45
Update usersReducer.js
phwizard Oct 24, 2021
4033c0e
Update walletReducer.js
phwizard Oct 24, 2021
825f0ab
Merge branch 'main' into dev
4RGUS Oct 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Windows files
[*.bat]
end_of_line = crlf
9 changes: 9 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ def jscFlavor = 'org.webkit:android-jsc:+'
*/
def enableHermes = project.ext.react.get("enableHermes", false);

ext {
react = [
nodeExecutableAndArgs: ["/usr/local/bin/node"]
]
}

android {
ndkVersion rootProject.ext.ndkVersion

Expand All @@ -129,6 +135,9 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dexOptions {
javaMaxHeapSize "3g"
}

defaultConfig {
applicationId "com.ethora"
Expand Down
Binary file added android/app/release/app-release.apk
Binary file not shown.
18 changes: 18 additions & 0 deletions android/app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.ethora",
"variantName": "processReleaseResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
}
]
}
6 changes: 3 additions & 3 deletions android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

<application
android:usesCleartextTraffic="true"
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning">
android:usesCleartextTraffic="true"
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>
</manifest>
15 changes: 14 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
package="com.ethora">

<uses-permission android:name="android.permission.INTERNET" />

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA"/>
<application
android:name=".MainApplication"
android:label="@string/app_name"
Expand Down Expand Up @@ -31,13 +34,23 @@
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https"
android:host="www.eto.li"
android:pathPrefix="/go"
/>
</intent-filter>
</activity>
</application>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added android/app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions android/app/src/main/java/com/ethora/MainActivity.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.ethora;

import com.zoontek.rnbootsplash.RNBootSplash; // <- add this necessary import
import android.os.Bundle; // <- add this necessary import

import com.facebook.react.ReactActivity;

public class MainActivity extends ReactActivity {
Expand All @@ -8,6 +11,12 @@ public class MainActivity extends ReactActivity {
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
RNBootSplash.init(R.drawable.bootsplash, MainActivity.this);
}
@Override
protected String getMainComponentName() {
return "ethora";
Expand Down
13 changes: 13 additions & 0 deletions android/app/src/main/res/drawable/background_splash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

<item
android:drawable="@color/splashscreen_bg"/>

<item
android:width="300dp"
android:height="300dp"
android:drawable="@mipmap/bootsplash_logo"
android:gravity="center" />

</layer-list>
9 changes: 9 additions & 0 deletions android/app/src/main/res/drawable/bootsplash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>

<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
<item android:drawable="@color/bootsplash_background" />

<item>
<bitmap android:src="@mipmap/bootsplash_logo" android:gravity="center" />
</item>
</layer-list>
5 changes: 5 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
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.
Binary file removed android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
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.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
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.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
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.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splashscreen_bg">#FFFF</color>
<color name="app_bg">#FFFF</color>
<color name="bootsplash_background">#FFFFFF</color>
</resources>
4 changes: 4 additions & 0 deletions android/app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>
18 changes: 17 additions & 1 deletion android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@

<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:textColor">#000000</item>

<!-- Add the following line to set the default status bar color for all the app. -->
<item name="android:statusBarColor">@color/app_bg</item>
<!-- Add the following line to set the default status bar text color for all the app
to be a light color (false) or a dark color (true) -->
<item name="android:windowLightStatusBar">false</item>
<!-- Add the following line to set the default background color for all the app. -->
<item name="android:windowBackground">@color/app_bg</item>
</style>

</resources>
<!-- Adds the splash screen definition -->
<!-- Add the following lines (BootTheme should inherit from AppTheme) -->
<style name="BootTheme" parent="AppTheme">
<!-- set the generated bootsplash.xml drawable as activity background -->
<item name="android:background">@drawable/bootsplash</item>
</style>

</resources>
7 changes: 5 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ buildscript {
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = "20.1.5948944"
googlePlayServicesAuthVersion = "16.0.1"
// kotlinVersion = "1.1.16"
}
repositories {
google()
Expand All @@ -16,6 +17,8 @@ buildscript {
dependencies {
classpath("com.android.tools.build:gradle:4.1.0")
classpath 'com.google.gms:google-services:4.3.8'
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0")
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
2 changes: 2 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ android.enableJetifier=true

# Version of flipper SDK to use with React Native
FLIPPER_VERSION=0.75.1
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx2560m
38 changes: 33 additions & 5 deletions docs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,34 @@ const appTitle = "Ethora"; //done
// App logo (displayed in login screen) image path:
import logoPath from "../src/assets/logo.png"; //done

//images for tutorial screens
import slide1Image1 from "../src/assets/tutorials/slide1Img1.png";
import slide2Image1 from "../src/assets/tutorials/slide1Img1.png";
import slide2Image2 from "../src/assets/tutorials/slide1Img1.png";
import slide2Image3 from "../src/assets/tutorials/slide1Img1.png";
import slide3Image1 from "../src/assets/tutorials/slide1Img1.png";
import slide3Image2 from "../src/assets/tutorials/slide1Img1.png";
import slide4Image1 from "../src/assets/tutorials/slide1Img1.png";
import slide4Image2 from "../src/assets/tutorials/slide1Img1.png";

import loginScreenBackgroundImage from "../src/assets/login_background.png";


//Application token
const APP_TOKEN = "JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYwZmU2MmQyMDVkNjM4NDhlZmU2YTc2MCIsImFwcE5hbWUiOiJFdGhvcmEiLCJhcHBEZXNjcmlwdGlvbiI6InVuZGVmaW5lZCIsImFwcFVybCI6InVuZGVmaW5lZCIsImFwcExvZ29IYXNoIjpudWxsLCJjcmVhdG9ySWQiOiI2MGZlNjJiZDA1ZDYzODQ4ZWZlNmE3MWMiLCJjcmVhdGVkQXQiOiIyMDIxLTA3LTI2VDA3OjIyOjU4LjM0N1oiLCJfX3YiOjAsInJhbmRvbVN0cmluZyI6InU3aExnSFdLbnpVVU5lbkF5cE1hZ0t4cW9aZ2w2ZDJMam5VdisremkvbU1LSmhZNUJ2b1BwSEJrR2tIYy9Ub0l1YmRRRGtjTiswRWVWSE9hNVB4QUlzc2Rub010aFp2bW9FUGpYVk80MVVQelR2UmhtVkVkd3g2cFRwZVdKQ21IUnRYZml0UlNpVnZoV21Ka2VxYWhmNUYzY080ZWhQYXkxQ1A0NTk3Nlpnazk0bFF2d1JyMVFIV2oifSwiaWF0IjoxNjI3Mjg0MTkxfQ.qKwa8h_QD5CQR3WJaSYv7ZiGumCmqcDSOyapTgQKqz0"; //done
const APP_TOKEN = 'JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7Il9pZCI6IjYxMTBlOTdiMWFjZWQ1MGE0ZGU3MDA0OSIsImFwcE5hbWUiOiJFdGhvcmEiLCJhcHBEZXNjcmlwdGlvbiI6InVuZGVmaW5lZCIsImFwcFVybCI6InVuZGVmaW5lZCIsImFwcExvZ29IYXNoIjpudWxsLCJjcmVhdG9ySWQiOiI2MTEwZTk2MDFhY2VkNTBhNGRlNzAwMDMiLCJjcmVhdGVkQXQiOiIyMDIxLTA4LTA5VDA4OjM4OjE5Ljk2OFoiLCJfX3YiOjAsInJhbmRvbVN0cmluZyI6IllqUzUvUmthMkNvcitFSStUNlRQUnV3ekZjNk8zZHZYaC8rRFBobHhITExKejlVaDZOSm1WcVNJQkRSYnBXSExuUEpoQzJLUDc0Y2NHZ21hKzFYUGJwcjFpNDV1RlhaeDNNMTdjZDRJTWtqS00yOS9yTERvN3IrYzdJRlpyckt0S3dsWUtwb3Nabi8yQmFEZjdISWRoWXUwdzVHaGp0VUlGcXdJKy94NFZrTyttRUtUIn0sImlhdCI6MTYyODQ5ODMwNX0.TzHlVy2bv-_gnrP9U7NyoYdNYvIBfVR9nUfH-RFg9e8'; //done

// NAVBAR LOGO
// If ’true’, same as above logo will also be displayed in the top left of the navbar before the app title
const navbarLogoShow = true; //done
const navbarLogoShow = false; //done

//universal link url
const unv_url = "https://www.eto.li/go?c=";
const unv_url1 = "https://www.eto.li/go/?c=";

// COLOUR THEME
const commonColors = {
"primaryColor" : "#F0B310",
"primaryDarkColor" : "#C59002",
"primaryColor" : "#4E8AC2",
"primaryDarkColor" : "#3774AD",
"secondaryColor" : "#133452"
} //done

Expand Down Expand Up @@ -107,5 +124,16 @@ export{
itemsMintingFee,
appWalletName,
APP_TOKEN,
coinsMainName
coinsMainName,
loginScreenBackgroundImage,
unv_url,
unv_url1,
slide1Image1,
slide2Image1,
slide2Image2,
slide2Image3,
slide3Image1,
slide3Image2,
slide4Image1,
slide4Image2
}
14 changes: 7 additions & 7 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ

platform :ios, '10.0'

permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"

target 'ethora' do
config = use_native_modules!

permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"

use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
Expand All @@ -23,10 +23,10 @@ target 'ethora' do
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!()

# you should disable these next few lines.
use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })
post_install do |installer|
react_native_post_install(installer)
flipper_post_install(installer)
end
end
end
Loading
0