...
InApp’lerde Custom Font kullanımı
InApp’lerde custom font kullanımı için ilk olarak res klasörü altında font folder'ı oluşturun.
Oluşturduğunuz klasörün içerisine istediğiniz fontları ekleyebilirsiniz.
Son olarak arayüzden uzantısız bir şekilde kullanmak istediğiniz fontun adını girin.
12 farklı In-App Message tasarımı mevcut:
...
Code Block | ||
---|---|---|
| ||
customEvent(String pageName, HashMap<String, String> properties, Activity parent) |
...
Inline Nps With Numbers
You should put InlineNpsWithNumbersView into a layout file that you prefer in your project. An example usage:
Code Block |
---|
?xml version="1.0" encoding="utf-8"?>
<
LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.visilabs.inApp.inlineNpsWithNumber.InlineNpsWithNumbersView
android:id="@+id/inlineNps"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</
LinearLayout
> |
After putting InlineNpsWithNumbersView, you should access the object in the related program code (Java or Kotlin) and you should call the method setNpsWithNumberAction() on this object. This method takes 1 mandatory (Context context) and 3 optional parameters (HashMap<String, String> properties, NpsItemClickListener npsItemClickListener, Activity parent).
Properties is for adding extra query parameters you want, to the request.
npsItemClickListener is for getting the control when the user clicks on a banner. If you don’t want the SDK to direct the user to the link automatically, you can use this interface.
Ürün Durum Bilgisi
RMC Panelde tanımladığınız Ürün Durum Bilgisi aksiyonu Ürün Görüntüleme, Sepete Ekleme ve Favoriye Ekleme/Çıkarma eventlerinde çalışmaktadır. Bu eventlerde ürün idnin gönderildiğinden emin olmalısınız. Bu eventlerde çağırdığınız customEvent metodunun Activity overloadını alması gerekmektedir.
...
Code Block | ||
---|---|---|
| ||
customEvent(String pageName, HashMap<String, String> properties, Activity parent) |