Skip to content

mitterio/mitter-android-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

Use this basic starter template to whip up an Android chat app powered by Mitter in seconds.

The Setup

  • Open this template project in Android Studio and wait for the sync to finish.

  • Navigate to MyApp.kt and replace the placeholder texts with your app and user credentials.

  • Navigate to MainActivity.kt inside the activity package and paste your channel ID in the channelId variable.

Using UI layouts

This starter template contains the following UI XML files:

  • 2 shape files inside the drawable package
  • 2 reusable layouts files inside the layout package

You can either use these files to quickly have some UI rendered on the screen for your app or you can totally define your own layout if you would like to go pro.

Configuring FCM

Most of the configuration for FCM has been already done in this template. You do, however, need to setup your FCM profile in the Firebase console, download the google-services.json file and place it in the root folder of your project (MitterAndroidStarter).

Also, you need to use an event bus or anything else similar to that to send the received push messages from the MyApp class to your MainActivity or any other activity or fragment that you need.

Closing notes

For this starter template to work, you need to have a working application on the Mitter platform. You can register for an account and create an application at mitter.io.

About

Starter template for whipping up an Android app with Mitter in no time. ⚡️

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages