Skip to content

Commit

Permalink
ready for initial review!
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Dec 10, 2024
1 parent 00fd925 commit 71a37c3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions x/examples/outline-pwa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,18 @@ This code lab guides you through creating a censorship-resistant Android/iOS app

## Verify with Packet Tracing

* **iOS:** TBD
* **iOS:** Load XCode and connect your iOS device. Make sure that your device allows your developer certificate (Check `Settings > General > VPN & Device Management` on your iOS device). Go to `Product > Profile` in XCode and select the "Network" option from the list of presets. Pressing the record button on the window that pops up should launch your app and record its traffic. Once done, set the view on the packet trace data to `History` and among the results you should see the DNS address `dn9.quad9.net`.
* **Android:** Start the emulator with `npx cap run android`. Use Wireshark to capture network traffic. Filter by `ip.addr == 9.9.9.9` (your chosen DNS server). You should see TCP and TLS traffic, indicating that your app is using DNS over HTTPS (DoH).

## Building and Distributing your App

### iOS

TODO: you will probably need to create a provisioning profile for your new app - https://forum.ionicframework.com/t/ios-build-app-provisioning-errors/208170/2
1. Create a developer account and add it to XCode Settings (`XCode > Settings... > Accounts`)
2. Select your App in the file explorer and pick your Account's Team in `Signing & Capabilities`
3. Connect your iOS device and select it as your build target in the top bar. XCode should automatically create a provisioning profile for the device and app combination.
4. Build a production archive with `Product > Archive`
5. On success, a window should pop up with your app listed in it. Select `Distribute App` and follow the instructions.

### Android

Expand Down

0 comments on commit 71a37c3

Please sign in to comment.