Skip to content

Commit

Permalink
this should fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
aaustin committed May 9, 2016
1 parent 90c3ef9 commit 5a8ed9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/lib/android/manifestWriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Class injects plugin preferences into AndroidManifest.xml file.
*/
function injectOptions(manifestData, pluginPreferences) {
var changedManifest = manifestData,
targetSdk = changedManifest['manifest']['uses-sdk']['$']['android:targetSdkVersion'],
targetSdk = changedManifest['manifest']['uses-sdk'][0]['$']['android:targetSdkVersion'],
activitiesList = changedManifest['manifest']['application'][0]['activity'],
launchActivityIndex = getMainLaunchActivityIndex(activitiesList),
ulIntentFilters = [],
Expand Down

0 comments on commit 5a8ed9e

Please sign in to comment.