The WildAid Marine Program works to protect vulnerable marine environments.
O-FISH (Officer Fishery Information Sharing Hub) is a multi-platform application that enables officers to browse and record boarding report data from their mobile devices.
This repo implements the iOS O-FISH app.
Details on installing all applications making up the solution can be found here.
The details behind the data architecture, schema, and partitioning strategy are described in Realm Data and Partitioning Strategy Behind the WildAid O-FISH Mobile Apps.
This is the iOS Mobile app for O-FISH. To build and use the app, you must first create and configure your serverless backend application using the WildAid O-FISH MongoDB Realm repo. Or you can easily get a login to the existing sandbox environment.
To build:
- Find the Realm Application ID (through the MongoDB Realm UI) for your Realm app.
- Copy
o-fish-ios/LocalConstants.swift.tmpl
too-fish-ios/LocalConstants.swift
- Set the
realm_app_id
ino-fish-ios/LocalConstants.swift
pod install
- Note: you may need to resolve dependencies by doing
pod install --repo-update
- Note: you may need to resolve dependencies by doing
- Build/run in Xcode
- Select the "Product" menu, then the "Destination" item and choose either:
- Your physical device, if you have it connected
- The simulator you want to run the code on (e.g. iPhone 11), from the "iOS Simulators" submenu
- Select the "Product" menu and then the "Run" item to build and run the application on the destination you just chose.
- If you do not see your changes in the application, make sure to uninstall the application and try building again.
- Select the "Product" menu, then the "Destination" item and choose either:
To be able to login to the app once it is built, you need to create a user in your instance of the O-FISH Realm App.