Git Issue # 1359

Can someone look at this issue / question? :slight_smile:

hey @binh, could you please take a look at it, thanks.

Hello. I’ve tried to compile the app from source, but I’ve found the .sample.env file is empty.

image
Has someone done it before?
Does the app has some kind of checksum that prevents people from using a modified version?

2 Likes

Following

@J053 @Fatfaa
Default value for env can setup by your self,
it can be any-value
example :
PASSWORD_SECRET_KEY= any-value
PASSPHRASE_WALLET_DEFAULT= any-value
API_MINER_URL= this api use for setup pNODE, dont need it.
PASS_HOSPOT = any-value

2 Likes

Alright. Thanks.

How can I compile the app for android from this point? I have tried running react-native run-android, but it gets stuck on this:
image

1 Like

Even though React Native CLI show error, it is just warning messages. So just ignore that error.

It’s not compiling, though. What are the steps to compile an APK file? I have never compile an app from React Native.

1 Like

You need to install Android SDK then setup sdk.dir and ndk.dir in android/local.properties. For example

ndk.dir=/Users/abc/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/abc/Library/Android/sdk

You also need to setup your keystore to build apk file in android/app. After that, you use yarn buildRelease to build apk file.

If you have any issue, please send me a log file. So I can help you to build the apk file.

1 Like