Giter VIP home page Giter VIP logo

noa-flutter's Introduction

Noa for iOS and Android – A Flutter app for Frame

Welcome to the Noa app repository! Built using Flutter, this repository also serves as a great example of how to build your own Frame apps.

Apple App Store badge       Google Play Store badge

Noa screenshots

Getting started

  1. Ensure you have XCode and/or Android studio correctly set up for app development

  2. Install Flutter for VSCode

  3. Clone this repository

    git clone https://github.com/brilliantlabsAR/noa-flutter.git
    cd noa-flutter
  4. Get the required packages

    flutter pub get
  5. Rename .env.template to .env and populate it with your own Google O-auth client IDs if desired

  6. Connect your phone and run the app in release mode

    flutter run --release

Regenerating the platform files

Sometimes it may be necessary to regenerate the platform files. To do this, delete the ios and android folders, and run the following commands. Adjust for your own organization identifier accordingly:

  1. Delete the ios and android folders

    rm -rf android ios
  2. Regenerate them

    flutter create --platforms ios --org xyz.brilliant --project-name noa .
    flutter create --platforms android --org xyz.brilliant --project-name noa .
  3. Regenerate the app icons

    flutter pub run flutter_launcher_icons
  4. Insert the following into ios/Runner/Info.plist to enable Bluetooth for iOS

    <dict>
        <key>NSBluetoothAlwaysUsageDescription</key>
        <string>This app always needs Bluetooth to function</string>
        <key>NSBluetoothPeripheralUsageDescription</key>
        <string>This app needs Bluetooth Peripheral to function</string>
        <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
        <string>This app always needs location and when in use to function</string>
        <key>NSLocationAlwaysUsageDescription</key>
        <string>This app always needs location to function</string>
        <key>NSLocationWhenInUseUsageDescription</key>
        <string>This app needs location when in use to function</string>
        <key>UIBackgroundModes</key>
        <array>
            <string>bluetooth-central</string>
        </array>
        ...
    
  5. Insert the following into `ios/Runner/Info.plist to enable Google sign in for iOS

    <dict>
        <key>CFBundleURLTypes</key>
        <array>
            <dict>
                <key>CFBundleTypeRole</key>
                <string>Editor</string>
                <key>CFBundleURLSchemes</key>
                <array>
                    <string>com.googleusercontent.apps.178409912024-a779l8d62k0r94f8qg63bcs77j986htk</string>
                </array>
            </dict>
        </array>
        ...
    
    1. Finally, you may want to find and replace all occurrences of the string xyz.brilliant to your own reverse-domain bundle identifier

noa-flutter's People

Contributors

siliconwitch avatar nigtwing avatar rao90 avatar abeervaishnav13 avatar trzy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.