Skip to content

Commit

Permalink
Remove residuals from old sample building approach
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Dec 12, 2024
1 parent 7337904 commit eb92dfe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build_sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ jobs:
echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks
- name: Download and extract `ark-core` JNI libs
run: |
wget https://github.com/ARK-Builders/ark-core/releases/download/v1.0.0/jniLibs.zip
unzip -d sample/src/main jniLibs.zip
- name: Build release sample APK
run: ./gradlew sample:assembleRelease

Expand Down
37 changes: 0 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,40 +28,3 @@ git push --tags

- Create an action build file under `.github/workflows/` folder, following any existing build script.
- Create a release build file under `.github/workflows/` folder, following any existing release script.

## Making the Storage Demo work

This section guides you through setting up and running the Storage Demo subpage.

**1. Download the `fs-storage` JNI Libraries:**

The demo requires JNI libraries (libs). Download these from the following location:

* **[ark-core repository](https://github.com/ARK-Builders/ark-core)**

- If you can't find them in the "Releases" section, check the latest successful build actions for artifacts.

**2. Place the Libraries:**

After downloading, move the JNI library files into your project's `sample/src/main/jniLibs` directory. **If the path doesn't exist, create it**

Your project structure should resemble this:

```
...
sample/
...
src/
main/
...
jniLibs/
arm64-v8a/
armeabi-v7a/
x86/
x86_64/
...
...
...
```

With the `fs-storage` JNI libraries in place, you're ready to build, run the project and use the Storage Demo subpage.

0 comments on commit eb92dfe

Please sign in to comment.