xiaomi-sdk

Push Notification Services

Лицензия

Лицензия

Группа

Группа

com.izooto
Идентификатор

Идентификатор

xiaomi-sdk
Последняя версия

Последняя версия

0.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

xiaomi-sdk
Push Notification Services
Ссылка на сайт

Ссылка на сайт

https://github.com/izooto-mobile-sdk/xiaomi-sdk
Система контроля версий

Система контроля версий

https://github.com/izooto-mobile-sdk/xiaomi-sdk

Скачать xiaomi-sdk

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.izooto/xiaomi-sdk/ -->
<dependency>
    <groupId>com.izooto</groupId>
    <artifactId>xiaomi-sdk</artifactId>
    <version>0.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.izooto/xiaomi-sdk/
implementation 'com.izooto:xiaomi-sdk:0.0.2'
// https://jarcasting.com/artifacts/com.izooto/xiaomi-sdk/
implementation ("com.izooto:xiaomi-sdk:0.0.2")
'com.izooto:xiaomi-sdk:aar:0.0.2'
<dependency org="com.izooto" name="xiaomi-sdk" rev="0.0.2">
  <artifact name="xiaomi-sdk" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.izooto', module='xiaomi-sdk', version='0.0.2')
)
libraryDependencies += "com.izooto" % "xiaomi-sdk" % "0.0.2"
[com.izooto/xiaomi-sdk "0.0.2"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
androidx.legacy » legacy-support-v4 jar 1.0.0
androidx.appcompat » appcompat jar 1.2.0
com.google.android.gms » play-services-ads-identifier jar 17.0.0
com.google.firebase » firebase-bom jar 26.0.0
com.google.firebase » firebase-messaging jar

Модули Проекта

Данный проект не имеет модулей.

t# izooto App notification service

Introduction : 
This document will talk about iZooto’s SDK integration process for Android.

Process: The following process is a step by step guide to integrate iZooto’s SDK.

Copy the android-release.AAR (shared) file to the libs folder of your project. Open app/build.gradle (Module: app) file and add the following lines of code:

Inside defaultConfig{} tag :

  manifestPlaceholders = [
           izooto_enc_key: "izooto_seceret-key”
           izooto_app_id : "izotot_app_id" 
   ]


Inside dependancies{} tag :

implementation project(path: ':izooto-release') implementation 'com.google.firebase:firebase-messaging:20.0.1'

Once done, go to File → Project Structure and :

Under the dependency tab, click on New Module, represented by + icon.

Select ‘Import JAR/AAR Package’ and click ‘Next’. Import ‘izooto-release.aar’ file shared and click on Finish. Sync the project

Add the following lines of code under the Manifest file.

For Internet Permissions, define a new user-permission tag:

Inside the application tag:

android:name=".yourApplicationName"

Sync the project. Create an Application File and include the following lines of code:

public class myApplicationName extends Application implements TokenReceivedListener {

@Override public void onCreate() { super.onCreate(); iZooto.initialize(this).setTokenReceivedListener(this).build(); } @Override public void onTokenReceived(String token) { Lg.i("Device token", token + ""); }}

Clean and re-build the project.

Congratulations! You have successfully integrated iZooto’s Android SDK.
When you now run the project, the FCM key would be generated and captured inside Android Studio’s Logs.

Версии библиотеки

Версия
0.0.2
0.0.1