Skip to content

Commit

Permalink
Fixed targetClass for shortcuts (#345)
Browse files Browse the repository at this point in the history
Closes #335
  • Loading branch information
andreban authored Sep 28, 2020
1 parent 6c63682 commit 2f847cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/template_project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ task generateShorcutsFile {
'intent'(
'android:action': 'android.intent.action.MAIN',
'android:targetPackage': twaManifest.applicationId,
'android:targetClass': 'com.google.androidbrowserhelper.trusted.LauncherActivity',
'android:targetClass': twaManifest.applicationId + '.LauncherActivity',
'android:data': s.url)
'categories'('android:name': 'android.intent.category.LAUNCHER')
}
Expand Down

2 comments on commit 2f847cd

@JudahGabriel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andreban is this fix included in any released version of Bubblewrap?

@andreban
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We published v1.7.0 with that change today.

Please sign in to comment.