Installation

Almost there!

Everything is now ready to be inserted into the mobile app. The dependancy and configurations can simply be copied and triggered from the mobile check-in process.

Dependency

The BAGTAG EBT Framework is available through CocoaPods . To install it, simply add the following line to your Podfile:

pod 'BAGTAGAirlineFramework' ,:git => 'https://dev.azure.com/bagtag/releases/_git/ebt-framework-ios'

And then run

pod install

Permissions

Add the following permissions to the apps info.plist:

NSBluetoothAlwaysUsageDescription

Import

import BAGTAGAirlineFramework

Customisations

Copy your work from the example app: Customise, Localisation and Baggage check-in

Installation

The framework is available through Maven and can be included in your project using gradle. First make sure your root-level `build.gradle` file has the following repository included:

allprojects {
    repositories {
        jcenter()
    }
}

Then add the dependency to your app-level `build.gradle` file:

dependencies {
    implementation "com.bagtag.ebt-framework:ebt-framework:1.0.0"
}

Then sync your gradle dependencies to download the framework. Because the framework uses databinding you should add the following to your app-level `build.gradle`:

apply plugin: 'kotlin-kapt'

And add the following to your `android{}` tag:

dataBinding {
    enabled = true
}

Permissions

The framework needs access to the location permission in order to use the bluetooth scan for discovering EBT’s. Also the internet permission is required for connection with the API. You need to add the following permissions to your `AndroidManifest.xml`:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.INTERNET" />

    <application>
    ...
    </application>
</manifest>

Success! What's next?

Time to release the app and bring the benefits to all passengers! Keeping up to date with new EBT models coming to the market is easy, just keep your BAGTAG EBT Framework up to date!



Any questions about integration? Reach out to integration@bagtag.com

We're here to help

Please fill in your details and we will contact you.