diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 251f2c8..0e0a911 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -118,6 +118,11 @@ const AppPage: React.FC = () => { await AppLauncher.openUrl({ url: '' }); }; + const getAppLanguage = async () => { + const info = await App.getAppLanguage(); + setAppInfoJson(JSON.stringify(info, null, 2)); + }; + useIonViewDidLeave(() => { stateChangeHandler.remove(); urlOpenHandler.remove(); @@ -160,6 +165,9 @@ const AppPage: React.FC = () => { Test Failing Call + + Get App Language + {/* If the link above ever expires, this is the HTML to test opening an intent for this app.