mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-23 01:32:04 -07:00
Merge pull request #3 from Permissionless-Software-Foundation/dh-apk
feat(apk): Created new Android app
This commit is contained in:
@@ -67,3 +67,7 @@ yarn-error.log
|
||||
.pnp.js
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# Android
|
||||
android/
|
||||
|
||||
|
||||
@@ -22,6 +22,20 @@ Standard workflow for setting up a development environment for working on this r
|
||||
- `npm install`
|
||||
- `npm start`
|
||||
|
||||
## Compiling Android App
|
||||
|
||||
Hooks are provided for compiling this code base into an Android App using [Capacitor](https://capacitorjs.com/). It's possible to use this code to also compile an iOS app, but it is untested. Here is the flow for building the Android app:
|
||||
|
||||
- Follow the instructions above to install the Dev Environment
|
||||
- Download and install [Android Studio](https://developer.android.com/studio)
|
||||
- Update the capacitor.config file with the route where Android studio is installed.
|
||||
- `npm run build` (generates the public folder)
|
||||
- `npm run android:setup` (generates the android folder)
|
||||
- `npm run android:open` (opens the android studio with the project)
|
||||
- Compile the APK with Android Studio.
|
||||
|
||||
Note: The `gcradle` and `sdk` versions must be compatible.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](./LICENSE.md)
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"appId": "com.example.app",
|
||||
"appName": "wallet.fullstack.cash",
|
||||
"bundledWebRuntime": false,
|
||||
"npmClient": "npm",
|
||||
"webDir": "public",
|
||||
"plugins": {
|
||||
"SplashScreen": {
|
||||
"launchShowDuration": 0
|
||||
}
|
||||
},
|
||||
"cordova": {},
|
||||
"linuxAndroidStudioPath": "/home/danielhumgon/Downloads/android-studio/bin/studio.sh"
|
||||
}
|
||||
Generated
+40583
-155
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,8 @@
|
||||
"scripts": {
|
||||
"build": "gatsby build",
|
||||
"build:ipfs": "gatsby build --prefix-paths",
|
||||
"android:setup": "npx cap add android; npx cap update android; npx cap update android; npx cap copy android; capacitor-resources -p android -I",
|
||||
"android:open": "npx cap open android",
|
||||
"develop": "gatsby develop",
|
||||
"lint": "standard --env mocha --fix",
|
||||
"start": "npm run develop",
|
||||
@@ -21,11 +23,15 @@
|
||||
"unit": "mocha test/unit/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^3.3.2",
|
||||
"@capacitor/cli": "^3.3.2",
|
||||
"@capacitor/core": "^3.3.2",
|
||||
"@chris.troutner/gatsby-plugin-ipfs": "^2.0.3",
|
||||
"@chris.troutner/ipfs": "^2.0.2",
|
||||
"adminlte-2-react": "^0.1.27",
|
||||
"assert": "^2.0.0",
|
||||
"browserify-zlib": "^0.2.0",
|
||||
"capacitor-resources": "^2.0.5",
|
||||
"copy-to-clipboard": "^3.3.1",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"gatsby": "^4.1.0",
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
BIN
Binary file not shown.
Reference in New Issue
Block a user