mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-03 06:44:48 -04:00
JS can call Android and get a value back!
This commit is contained in:
2
app/src/main/assets/dist/book-bundle.js
vendored
2
app/src/main/assets/dist/book-bundle.js
vendored
@ -31,6 +31,8 @@ window.appendVerse = function(text) {
|
||||
return scope.$apply();
|
||||
};
|
||||
|
||||
console.log(Android.testReturn("Good morning."));
|
||||
|
||||
|
||||
/*
|
||||
Future reference: Get the controller scope like so:
|
||||
|
Reference in New Issue
Block a user