Location and network fetches no longer fire at launch before onboarding reaches the relevant step: foreground tracking and the first refresh are gated behind onboarding completion (scenePhase no longer starts tracking while the cover is up, and onAppear defers its fetch until after finish). A new Data page sits just before 'You're all set': it probes the FuelBoard Relay, which surfaces the iOS Local Network permission prompt in context (NSLocalNetworkUsageDescription added), verifies connectivity, and offers Open Settings/Check again on denial. Onboarding is now 5 pages: Welcome, Location, Notifications, Data, Done. 35 tests pass.
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>FuelBoard</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>$(EXECUTABLE_NAME)</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>$(PRODUCT_NAME)</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>1.0</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>1</string>
|
|
<key>LSRequiresIPhoneOS</key>
|
|
<true/>
|
|
<key>NSLocationWhenInUseUsageDescription</key>
|
|
<string>FuelBoard uses your location to find the cheapest nearby petrol stations.</string>
|
|
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
|
|
<string>FuelBoard uses Always location to alert you when you approach the cheapest station nearby.</string>
|
|
<key>NSLocalNetworkUsageDescription</key>
|
|
<string>FuelBoard connects to the FuelBoard Relay on your local network to download the latest fuel prices.</string>
|
|
<key>UIBackgroundModes</key>
|
|
<array>
|
|
<string>location</string>
|
|
</array>
|
|
<key>UILaunchScreen</key>
|
|
<dict/>
|
|
<key>UIRequiredDeviceCapabilities</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
</array>
|
|
<key>UISupportedInterfaceOrientations</key>
|
|
<array>
|
|
<string>UIInterfaceOrientationPortrait</string>
|
|
</array>
|
|
</dict>
|
|
</plist>
|