Skip to content

[Issue]: Add iOS and Android platforms to Capacitor project #178

Description

@yanisbenboudaoud

Branch Name

feature/178-capacitor-native-platforms

Description

Android is already added and runs. iOS is not started. This issue covers the iOS side and a sync check on both.

Scope

  • Run npx cap add ios
  • Set the bundle id to ca.canopee.app to match Android
  • Add the location keys to Info.plist: NSLocationWhenInUseUsageDescription and NSLocationAlwaysAndWhenInUseUsageDescription
  • Add "location" to UIBackgroundModes, or iOS stops tracking when the screen locks
  • Set the signing team in Xcode

Acceptance Criteria

  • The ios folder opens in Xcode with no errors
  • npx cap sync works for both platforms
  • The app runs on an iOS simulator and an Android emulator
  • iOS asks for location permission on the first patrol

Notes

You need a Mac with Xcode for this one. Xcode does not run on Windows or Linux.

Checklist

  • I have checked for duplicate issues.
  • I have assigned the issue to the correct project board.
  • I have tagged the issue properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

back-endback-end related issue

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions