This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Created by wappier on 13/02/2018 | |
* Copyright (c) 2018 . All rights reserved. | |
* Author : ka | |
* Company e-mail : info@wappier.com | |
* | |
*/ | |
package com.wappier.wappierSDK; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wappier.wappierSDK.network.networkrequest; | |
import android.content.Context; | |
import android.net.Uri; | |
import android.os.AsyncTask; | |
import android.os.Build; | |
import android.support.annotation.Nullable; | |
import android.util.Base64; | |
import android.util.Log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07-13 18:04:34.081 16550-16550/wizzo.mbc.net.qa E/dalvikvm: Could not find class 'android.app.NotificationChannel', referenced from method com.batch.android.BatchNotificationChannelsManager.a | |
07-13 18:04:34.081 16550-16550/wizzo.mbc.net.qa W/dalvikvm: VFY: unable to resolve new-instance 71 (Landroid/app/NotificationChannel;) in Lcom/batch/android/BatchNotificationChannelsManager; | |
07-13 18:04:34.081 16550-16550/wizzo.mbc.net.qa D/dalvikvm: VFY: replacing opcode 0x22 at 0x0011 | |
DexOpt: unable to opt direct call 0x01cd at 0x1a in Lcom/batch/android/BatchNotificationChannelsManager;.a | |
DexOpt: unable to opt direct call 0x06bb at 0x33 in Lcom/batch/android/BatchNotificationChannelsManager;.a | |
07-13 18:04:34.891 16550-16550/wizzo.mbc.net.qa D/BatchInternal: onStart called on state OFF, should start : true | |
07-13 18:04:34.901 16550-16550/wizzo.mbc.net.qa D/BatchInternal: getLanding : No valid payload in intent | |
07-13 18:04:34.971 16550-16550/wizzo.mbc.net.qa D/BatchInternal: TrackerModule : Deleted 0 overflow eve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void openWhatsAppForFeedback() { | |
boolean isWhatsAppInstalled = whatsappInstalled("com.whatsapp"); | |
if (isWhatsAppInstalled) { | |
String smsNumber = "966535550107"; //without '+' | |
StringBuffer stringBuffer = new StringBuffer(); | |
stringBuffer.append("User ID: " + mCipherUserId); | |
stringBuffer.append("User account: " + mSessionManager.getStringPreference(SessionManager.USER_EMAIL)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cliff.apodeixoulis.data.network; | |
import com.cliff.apodeixoulis.app.App; | |
import com.cliff.apodeixoulis.data.model.UserResponse; | |
import com.cliff.apodeixoulis.data.model.comments.Comment; | |
import com.cliff.apodeixoulis.data.model.placeinforate.PlaceRating; | |
import com.cliff.apodeixoulis.data.model.report.Report; | |
import com.cliff.apodeixoulis.data.model.user.User; | |
import com.cliff.apodeixoulis.utils.Constants; | |
import com.cliff.apodeixoulis.utils.pref.SharedPrefHelper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wappier.wappierSDK.utils; | |
import android.content.Context; | |
import android.content.pm.PackageManager; | |
import android.location.Address; | |
import android.location.Geocoder; | |
import android.location.Location; | |
import android.location.LocationManager; | |
import android.os.Build; | |
import android.support.v4.content.ContextCompat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"wappierId": "1fb6d8ca-5b2d-5d3a-b693-6b38a2ac865b", | |
"loyalty": { | |
"enabled": true, | |
"analytics": { | |
"enabled": true | |
}, | |
"audiences": [], | |
"groups": [], | |
"events": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"wappierId":"1fb6d8ca-5b2d-5d3a-b693-6b38a2ac865b","loyalty":{"enabled":true,"analytics":{"enabled":true},"audiences":[],"groups":[],"events":["FIRST_RUN"],"claimedRewards":[],"points":{"total":7100,"current":7100}},"spendPoints":{"notifications":{"total":15,"enabled":true},"rewardGroups":[{"notifications":{"enabled":true,"total":5},"rewards":[{"notifications":{"enabled":true,"total":1},"eligible":true,"_id":"5a17fc97dbb7851e223233e3","rewardGroupId":"5a17fb94dbb7851e223233d4","type":"INAPP","itemID":"Alekos_1_SKU_BLACK_FRIDAY","activatedAt":"2017-11-24T11:04:50.000Z","expireAt":"2101-03-24T11:03:50.000Z","deleted":false,"enabled":true,"price":{"actions":[],"points":500},"assets":{"title":{"en":"Damascus"},"description":{"en":"B Grade Weapon"},"position":0,"category":"UNKNOWN","image":{"en":"/data/images/rewards/Item_79_1511521431891.jpeg"}},"metadata":{"quantity":20,"sku":"Alekos_1_SKU_BLACK_FRIDAY","amount":1},"app":{"package":"com.wappier.xanadu.demo.loyalty","platform":"android","publisher":"Wappier","na |