Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destinyitemmanager/ios
https://github.com/destinyitemmanager/ios
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/destinyitemmanager/ios
- Owner: DestinyItemManager
- License: unlicense
- Created: 2021-12-20T00:29:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T00:30:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T00:58:00.311Z (about 2 months ago)
- Language: Swift
- Size: 203 KB
- Stars: 3
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DIM for iOS
This project was bootstrapped from https://www.pwabuilder.com/ for https://app.destinyitemmanager.com
### Quick start
- `git clone https://github.com/DestinyItemManager/iOS`
- `cd iOS`
- `pod install` (`sudo gem install cocoapods`, if needed.)
- `open DIM.xcworkspace`### Deploying
- 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### Further reading
- 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---
### How this was bootstrapped
1. https://pwabuilder.com/ -- enter domain name.
2. 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`
4. Generate and then look at [WebView.swift](https://github.com/DestinyItemManager/iOS/blob/main/DIM/WebView.swift#L160-L164) to see how to set some ignore hosts
5. Add `config.applicationNameForUserAgent = "Safari/604.1"` to fix the Stadia login in WebView.swift.
6. Follow the rest of the PWA steps to deploy.