Giter VIP home page Giter VIP logo

example-flutter-app's Introduction

Example Flutter App

This project helps you get started with Cooee's Flutter plugin in flutter.

All integration from Cooee flutter documentation are added commit by commit.

Environment

This App was tested with below configuration.

  • Flutter 2.10.3 • channel stable
  • Tools • Dart 2.16.1 • DevTools 2.9.2
  • Android Studio: Android Studio Chipmunk | 2021.2.1
  • XCode: version 13.4.1

Commit Convention

To demonstrate the usage of the plugin better, we are following the following commit convention to better understand the changes related to an app or the Cooee plugin.

  1. For flutter app related changes, the commit is prefixed with (App).
  2. For Cooee plugin related changes, the commit is prefixed with (Cooee vx.x.x) (shows a specific version).

Code Convention

To understand the code better, we left various comments in the code to bifurcate Cooee's plugin specific changes separately-

  1. // Cooee specific shows the code change required for Cooee plugin to work.
  2. // Cooee specific (optional) show the above which is an optional change.

Branch Convention

Branch multiple_firebase_messaging_plugin

  1. To send engagement to app Cooee uses Firebase Messaging.
  2. If User using any other plugin which supports Firebase Messaging it will make conflict of FirebaseMessagingService and only one plugin will work.
  3. To Handle this required changes are added on branch.

Branch permission_uses

  1. Cooee support Augmented Reality & Location base engagements.
  2. To make it working Cooee's Flutter plugin requires permissions.
  3. To Handle this required changes are added on branch.

Running the App

To run this project, You will need to do following changes in the repository-

Android & iOS

  1. Replace YOUR_COOEE_APP_ID with AppId provided in App Details on Cooee Dashboard.

Android only

Nothing more to do here.

iOS Only

  1. For iOS, double click ios/Runner.xcworkspace to open in XCode.
  2. Set you development team in Project Setting -> Signing & Capability for Runner target.
  3. Also make sure group.com.letscooee.YOUR_COOEE_APP_ID is checked and synced with your developer account in App Group capability.
  4. Step 4 and Step 5 should be repeated for NotificationServiceExtension target.

That's it. You can now run the app on your physical device. Simulator can't be used to test push notifications.

Lets start sending engagement from Cooee Dashboard.

example-flutter-app's People

Contributors

ashishgkwd534 avatar

Watchers

Shashank Agrawal avatar Shikhar Jain 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.