10000 GitHub - czuria1/o-fish-ios: iOS app for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iOS app for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection.

License

Notifications You must be signed in to change notification settings

czuria1/o-fish-ios

 
 

Repository files navigation

WildAid O-FISH iOS App

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.

Prerequisites

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.

Building and running the app

Set the Realm Application ID (find it for your app through the MongoDB Realm UI) create the file o-fish-ios/LocalConstants.swift and add this code (substituting your Realm application ID):

struct LocalConstants {
    static let realmAppId = "your_app_id"
}

To build:

  • Copy o-fish-ios/LocalConstants.swift.tmpl to o-fish-ios/LocalConstants.swift
  • Make sure the realm_app_id is set in o-fish-ios/LocalConstants.swift
  • pod install
    • Note: you may need to resolve dependencies by doing pod install --repo-update
  • 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.
< 5DBB p dir="auto">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.

About

iOS app for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 98.3%
  • Ruby 1.7%
0