Skip to content

Instantly share code, notes, and snippets.

@kimuradev
Last active August 3, 2019 14:47
Show Gist options
  • Save kimuradev/61ed648f508ed43ecb6007ddccc5a8f3 to your computer and use it in GitHub Desktop.
Save kimuradev/61ed648f508ed43ecb6007ddccc5a8f3 to your computer and use it in GitHub Desktop.
PWA Medium - app/build.gradle
def twaManifest = [
applicationId: 'com.heroku.vanillapwa',
hostName: 'vanilla-pwa.herokuapp.com', // The domain being opened in the TWA.
launchUrl: '/', // The start path for the TWA. Must be relative to the domain.
name: 'Vanilla PWA', // The name shown on the Android Launcher.
themeColor: '#3366ff', // The color used for the status bar.
backgroundColor: '#3366ff', // The color used for the splash screen background.
enableNotifications: false // Set to true to enable notification delegation
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment