Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Oct 2, 2024
1 parent 0266f61 commit 7c80be3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/examples/outline-pwa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ This will update the ios and android subprojects with that site's index.html. Yo

## Strategies

We'll be defining our own custom scheme - `outline://` - and loading the index.html via `outline://index.html`. Subresources that don't have their scheme defined should load via `outline://` as well.

### iOS

TODO
TODO - define a `WKURLSchemeHandler` for `outline://` and handle the traffic that way.

### Android

TODO
TODO - create a new `WebViewClient` with a `shouldOverrideUrlLoading` that handles the `outline://` scheme. Set that web client in the `BridgeActivity` that Capacitor provides.

0 comments on commit 7c80be3

Please sign in to comment.