Basic Setup

Smartech provides a Flutter SDK that enables app developers to track and engage their users and view valuable analytical insights on our powerful Smartech dashboard.

This guide will show you how to install the Smartech Flutter SDK in your Flutter project.

Installing Smartech Flutter Plugin

Implement plugin in pubspecs.yaml file under dependencies:

By using pub

smartech_flutter_plugin: ^1.0.1

OR By using GIT

smartech_flutter_plugin:
    git: 
      url: git://github.com/NetcoreSolutions/Smartech-Flutter-Plugin.git

For Android SDK Setup

If you are building your Android app, follow the Basic Setup steps to install the Android SDK.

To initiate the Smartech SDK, Add below in Application file

override fun onCreate() {
    super.onCreate()
    SmartechPlugin.Companion.initializePlugin(this);
}
override fun onCreate() {
    super.onCreate()
    SmartechPlugin.initializePlugin(this)
}

iOS SDK Setup

If you are building your iOS app, follow the Basic Setup from step 2 onwards steps (ignore POD installation steps) to setup the iOS SDK.

Choose Features

Now that the basic setup is completed, you can choose to move to either of below features:

  1. Customer Engagement Channels like Push Notifications & In-app Messages
  2. User & Event Tracking

Did this page help you?