Skip to content

Commit

Permalink
chore: in Gnoboard, use the Gnonative npm package (#181)
Browse files Browse the repository at this point in the history
In Gnoboard, use the Gnonative npm package.

Use `KeyInfo` instead of the alias `GnoAccount` used only in gnoboard.

Save the transport_web.ts file in the `template` folder for the future.

Tested on Android.

Signed-off-by: D4ryl00 <[email protected]>
  • Loading branch information
D4ryl00 authored Sep 25, 2024
1 parent f9b1aea commit b586114
Show file tree
Hide file tree
Showing 124 changed files with 69 additions and 5,450 deletions.
4 changes: 4 additions & 0 deletions examples/js/expo/gnoboard/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# native folders
android/
ios/

# dependencies
node_modules/

Expand Down
2 changes: 1 addition & 1 deletion examples/js/expo/gnoboard/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// order of imports is important
import 'react-native-polyfill-globals/auto';

import { GnoNativeProvider } from '@gno/provider/gnonative-provider';
import { GnoNativeProvider } from '@gnolang/gnonative';
import CustomRouter from '@gno/router/custom-router';

// Polyfill async.Iterator. For some reason, the Babel presets and plugins are not doing the trick.
Expand Down
19 changes: 0 additions & 19 deletions examples/js/expo/gnoboard/android/.gitignore

This file was deleted.

234 changes: 0 additions & 234 deletions examples/js/expo/gnoboard/android/app/build.gradle

This file was deleted.

Binary file not shown.
14 changes: 0 additions & 14 deletions examples/js/expo/gnoboard/android/app/proguard-rules.pro

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions examples/js/expo/gnoboard/android/app/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit b586114

Please sign in to comment.