-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into release/v2.11.2
Signed-off-by: Gleb Levinkov (p2p) <[email protected]>
- Loading branch information
Showing
131 changed files
with
2,890 additions
and
259 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
// we need this JS code to inject the ReferralBridge object into the global namespace | ||
// and parse the result data into a JSON object instead of raw string | ||
window.ReferralBridge = { | ||
getUserPublicKeyAsync: async function() { | ||
const result = await AndroidReferralBridge.getUserPublicKeyAsync(); | ||
return JSON.parse(result) | ||
}, | ||
nativeLog: function(info) { | ||
AndroidReferralBridge.nativeLog(info); | ||
}, | ||
showShareDialog: function(link) { | ||
AndroidReferralBridge.showShareDialog(link); | ||
}, | ||
signMessageAsync: async function(message) { | ||
const result = AndroidReferralBridge.signMessageAsync(message); | ||
return JSON.parse(result) | ||
} | ||
} |
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.