-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove unused gnokey-mobile gRPC communication (#194)
gnokey-mobile PR gnolang/gnokey-mobile#35 removed the unused gRPC server, since we now use deep links. Importantly, the code to call functions like `gnoNativeService.ClientSignTx` are removed. So we can remove these functions in gnonative. * In the `GnoNativeService` interface and `gnoNativeService` type, remove `ClientGetRemote`, `ClientListKeyInfo` and `ClientSignTx` which were only used by the Gnokey Mobile gRPC server. * In the `Config` and `gnoNativeService` structs, remove `useGnokeyMobile` flag and the code in api.go which does special handling for this flag. * In bridge.go and the related Swift and Kotlin files, remove support for `StartGnokeyMobileService`. This allows us to remove the dependency on `github.com/gnolang/gnokey-mobile/service`, so remove it from go.mod. * Run `make regenerate` which updates files in api/gen/go, including changes for the new buf version. This PR was tested by running `make npm.pack` in the expo folder, installing this package in gnokey-mobile, then testing with dsocial on Android and iOS simulators. (Note that examples/js/react-native/hello has a copies of files from the expo folder. These are out-of-date for recent changes in the API, including this PR. We will do a future PR to update the hello example.) --------- Signed-off-by: Jeff Thompson <[email protected]>
- Loading branch information
Showing
13 changed files
with
262 additions
and
544 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.