Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

Bağımlılıkları Ekleme

...

Adding the Dependencies

Please, add Maven jitpack repository into your project-level build.gradle file as shown below:

Code Block
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

You can add the dependency of relateddigital-android kütüphanesinin bağımlılığını aşağıdaki gibi app(module) seviyesindeki build.gradle dosyasına ekleyiniz.

...

Sürüm versiyon bilgilerine ve hangi sürümde ne değişiklikler yapıldığı bilgilerine github repo sundan ulaşabilirsiniz.

library into your module-level build.gradle file as shown below:

Code Block
implementation 'com.github.relateddigital:relateddigital-android:1.0.0'
Info

You can check the SDK releases and what’s changed during the releases on the github repository.

Integration of FCM

...

and HMS

...

to RMC

...

Info

Eğer mobil bildirim ve geofence özelliklerini kullanmayacaksınız bu bölümü atlayabilirsinizYou can skip this part if you are not going to use mobile notification and geofencing features.

Firebase

...

Firebase Console dan uygulamanızı (yoksa) oluşturun.

...

Firebase Console üzerinde Settings/Project settings linkine tıklayınız.

...

Ardından açılan sayfada Cloud Messaging sekmesi altında Server key değerini kopyalayınız.

...

Firebase üzerinde uygulamanızı tanımladıktan sonra  RMC platformunda Android uygulamanızı tanımlamak için bu linkten bilgi alabilirsiniz. 

...

Huawei Entegrasyonu

Huawei Developer Console dan bir uygulama (yoksa) oluşturunuz.

...

Projeniz için Push Kit i aktif hale getiriniz.

...

Proje Ayarları → Genel Bilgiler kısmına gidiniz.

...

App ID ve App Secret’i kopyalayıp RMC panel üzerinden  Ayarlar / Kampanya Ayarları / Push Uygulamaları / Yeni Huawei Uygulamasına tıklayınız

...

Bu alana AppAlias'ı ve Huawei Console dan alınan App ID ve App Secret’i ekleyiniz.

Örnek Uygulama

...

Integration

Create a new project (unless you have one already) on Firebase Console.

...

Go to Settings/Project Settings on the console.

...

Copy the Server Key value under Cloud Messaging tab on the Settings page.

...

You should paste this Server Key value to the field of Server Key on RMC panel after you click on Settings / Campaign Settings / Push Applications / New Android Applications. After you input the necessary information for your application on this page, click on Add button and create your application on RMC panel.

You can see the details on this link about creating an application on RMC panel.

...

Huawei Integration

Create an application (unless you have one already) on Huawei Developer Console.

...

Enable Push Kit for your project.

...

Go to Project Setting → General Information

...

Copy the App ID and App Secret value and go to RMC panel. Click on Settings / Campaign Settings / Push Applications / New Huawei Application.

...

Paste the App ID and App Secret that were taken from Huawei Console.

Example Application

RelatedDigital Example Application