项目作者: Intuz-production

项目描述 :
Backbone bits from Intuz
高级语言: Java
项目地址: git://github.com/Intuz-production/Backbone-bits-Android.git
创建时间: 2018-04-03T11:26:51Z
项目社区:https://github.com/Intuz-production/Backbone-bits-Android

开源协议:MIT License

下载


Introduction

Backbone Bits is an amazing tool to pitch your app to the major mobile platforms that are effective for both new and existing apps.
This documentation will help you to add and configure your apps with Backbone Bits tool. You can gain deep insight and easily respond all of your apps very quickly and with little effort using Backbone Bits’s Android SDK. The SDK integration process is designed to be as easy as possible with a basic setup complete in under 5 minutes.

Screenshots

Features

  • Respond - Communicate efficiently with in-app user interactions.
  • Help - Help images, videos, and FAQs.
  • Supports -Android 4.0 and up

Getting Started

  1. Initialise Backbonebits. You can enable or disable helper on device shake

    1. Backbonebits b = new Backbonebits(this);
    2. b.isShakeEnabled(true); //Default true
  2. You can open helper on click of view in your application:

  1. view.setOnClickListener(new View.OnClickListener() {
  2. @Override
  3. public void onClick(View v) {
  4. b.openBackbonebitsHelper();
  5. }
  6. });

3.Copy API Key from Backbonebits backend and put in your apps manifest file:

  1. <meta-data
  2. android:name="BackbonebitsAPIKey"
  3. android:value="Enter your api key" />
  1. Import-Module Backbonebits to your project.Add following code to your Gradle file.
  1. compile project(':Backbonebits')

If your application has Application class then add following in manifest.xml file.

  1. <application tools:replace="android:name" android:name=".BackbonebitsUILApplication">
  1. public class BackbonebitsSampleApp extends BackbonebitsUILApplication {
  2. // add your code here
  3. }

Configure Push Notification:

  1. Register your application in Firebase Console(https://console.firebase.google.com/)
  2. Register Legacy server key in App Notification section.
    3.Client app module who will be using this library module will have google-services.json file in this directory and not in library module directory.
  3. Client app module gradle will be having below the line in it and not in library module gradle:
    apply plugin: ‘com.google.gms.google-services’
  4. Make sure all the firebase dependencies are using same latest version.
  5. Write the following line of code in the main project manifeast.xml file
  1. <!--
  2. To integrate FCM
  3. -->
  4. <service
  5. android:name="com.backbonebits.fcm.MyFirebaseMessagingService">
  6. <intent-filter>
  7. <action android:name="com.google.firebase.MESSAGING_EVENT"></action>
  8. </intent-filter>
  9. </service>
  10. <service
  11. android:name="com.backbonebits.fcm.MyFirebaseInstanceIDService">
  12. <intent-filter>
  13. <action android:name="com.google.firebase.INSTANCE_ID_EVENT"></action>
  14. </intent-filter>
  15. </service>

To Open All Past Generated Reports in Your Project :

  1. List<BackboneGetCommunicatrRequestResponse.CommunicatrData> reportList = b.openPastReports();

To Show Past Requests Unread Count in Your Project:

  1. int count = b.getUnreadCount();

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.


License

The MIT License (MIT)



Copyright (c) 2018 Intuz Solutions Pvt Ltd.



Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:



THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Open Source by Intuz



Backbone bits iOS SDK


Backbone bits PHP SDK