Euromessage Android SDK https://www.euromsg.com/
Published by emreken almost 2 years ago
Published by emreken about 2 years ago
Remove Huawei Mobile SDK dependencies from Related Digital SDK (Due to Play Store rejections and complaints)
You should NOT use this SDK version if you want to support Huawei devices which do not have google services enabled.
You should remove all Huawei SDK dependencies from your project too if you do not want to get a reject from Play Store about Huawei Mobile SDK
Related Digital SDK'sından Huawei Mobil SDK bağımlılıklarının kaldırılması (Play Store un Huawei Mobil SDK ile ilgili uyarıları ve uygulamalara red vermesi yüzünden)
Eğer Google servislerinin olmadığı Huawei cihazlarını da destekliyorsanız bu SDK sürümünü kullanmamalısınız.
Eğer Play Store dan Huawei Mobil SDK ile alakalı bir ret almak istemiyorsanız siz de projenizdeki tüm Huawei Mobil SDK bağımlılıklarını kaldırmalısınız.
Published by emreken about 2 years ago
Published by emreken about 2 years ago
Published by emreken about 2 years ago
Published by emreken over 2 years ago
Published by emreken over 2 years ago
Published by emreken over 2 years ago
Published by emreken over 2 years ago
Published by emreken over 2 years ago
Published by emreken over 2 years ago
Published by emreken over 2 years ago
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
if(intent != null) {
Bundle bundle = intent.getExtras();
if (bundle != null) {
Message message = (Message) intent.getExtras().getSerializable("message");
if(message != null) {
// Send open report
if(EuroMobileManager.getInstance() == null) {
EuroMobileManager.init(googleAppAlias, huaweiAppAlias, getApplicationContext()).sendOpenRequest(message);
} else {
EuroMobileManager.getInstance().sendOpenRequest(message);
}
} else {
// Carousel push notification : an item was clicked
String itemClickedUrl = bundle.getString("CarouselItemClickedUrl");
if(itemClickedUrl != null && !itemClickedUrl.equals("")) {
try {
Intent viewIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(itemClickedUrl));
viewIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(viewIntent);
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
}
}
Published by emreken almost 3 years ago
Published by emreken almost 3 years ago
Published by emreken almost 3 years ago
Published by emreken almost 3 years ago
Published by emreken almost 3 years ago
Published by emreken almost 3 years ago
Published by emreken almost 3 years ago
Published by emreken about 3 years ago