This project was bootstrapped from https://www.pwabuilder.com/ for https://app.destinyitemmanager.com
git clone https://github.com/DestinyItemManager/iOS
cd iOS
pod install
(sudo gem install cocoapods
, if needed.)open DIM.xcworkspace
- Should be a pared down version of the publish step on the PWA Builder site found here: https://docs.pwabuilder.com/#/builder/app-store?id=publishing
- Once you have your local machine setup with the certificat/provisioning file/etc you should be able to jump straight to steps 6 -> 8
- pwa builder ios repo: https://github.com/pwa-builder/pwabuilder-ios/
- More information about iOS & PWA's from PWA builder: https://docs.pwabuilder.com/#/builder/app-store
- https://pwabuilder.com/ -- enter domain name.
- Click the iOS option, and before hitting generate enter in under "Permitted URLs" in the settings in the dialog popup:
www.bungie.net, login.live.com, accounts.google.com, accounts.youtube.com, ca.account.sony.com, my.account.sony.com, steamcommunity.com, id.twitch.tv
- Generate and then look at WebView.swift to see how to set some ignore hosts
- Add
config.applicationNameForUserAgent = "Safari/604.1"
to fix the Stadia login in WebView.swift. - Follow the rest of the PWA steps to deploy.