Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
Updates Cordova sample app to use Wikitude SDK 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pnagele committed Oct 22, 2020
1 parent 4ea9bb0 commit 4e2b85f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
11 changes: 5 additions & 6 deletions SampleAppResources/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,11 @@ var app = {
* Using app.wikitudePlugin.showAlert() is required for alerts to work while an Architect view is active.
* Since there is no Architect view in use while we are in the main menu, we should just use a regular JS alert here.
*/
alert(
"Build configuration: " + buildInformation.buildConfiguration + "\n" +
"Build date: " + buildInformation.buildDate + "\n" +
"Build number: " + buildInformation.buildNumber + "\n" +
"Build version: " + sdkVersion
);
var buildInformationText = "Build configuration: " + buildInformation.buildConfiguration + "\n" +
"Build date: " + buildInformation.buildDate + "\n" +
"Build number: " + buildInformation.buildNumber + "\n" +
"Build version: " + sdkVersion;
navigator.notification.alert(buildInformationText, null, "Build information", "OK");
});
}
// --- End Wikitude Plugin ---
Expand Down
2 changes: 1 addition & 1 deletion SampleAppResources/world/ade.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Scripts/WikitudePhoneGapSampleGenerator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ $BUILD_PROGRAM plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Pl
## Add Cordova File plugin
$BUILD_PROGRAM plugin add cordova-plugin-file

# Add Cordova dialogs plugin
$BUILD_PROGRAM plugin add cordova-plugin-dialogs


# Install Wikitude SDK license
echo "** ADDING WIKITUDE SDK LICENSE ***"
Expand Down

0 comments on commit 4e2b85f

Please sign in to comment.