Skip to content

Commit

Permalink
Fix inApp Messaging Crash (#44)
Browse files Browse the repository at this point in the history
* Updated SDK to include BACKGROUND_REFRESH policy for actions

* Updated ReadMe for BACKGROUND_REFRESH

* Add Destroy method

* Included methods to clear cache

* Updated url end point

* Updated regions with correct values

* Refactored

* Updated read

* Updated Readme

* Removed unused files

* Updated send metrics api to send only the metrics array

* included support for boolean and integer for custom attributes

* Refactored

* Fix to ensure that existing custom parameters update the user registration

* Fix to ensure default json for cached parameter is empty

* Updated ui for in app messages

* Updated destroy method

* Add license header

* Add license file

* Update JitPack badge

* Update sample link

* Code cleanup and update API description

* Revert "Merge master"

This reverts commit c9f6cc4, reversing
changes made to 4347ad9.

* Update App Credentials

* Change Platform Name

 bluemix-mobile-services/bmd-project-applauch#627

* Fix InApp Message Problem

bluemix-mobile-services/bmd-project-applauch#630

* Remove Location Permission

bluemix-mobile-services/bmd-project-applauch#351

* Fix inApp Messaging Crash

bluemix-mobile-services/bmd-project-applauch#661

* Add google maven dependency

bluemix-mobile-services/bmd-project-applauch#661
  • Loading branch information
vittalpai authored and srinivasannanduri committed Mar 9, 2018
1 parent 0712239 commit 2aa9042
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ private void displayBannerDialog(Context context,MessageData messageData){
dialog.setView(dialogLayout);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
ImageView image = (ImageView) dialogLayout.findViewById(R.id.goProDialogImage);
Picasso.with(context).load(messageData.getImageUrl()).placeholder(R.drawable.placeholder_image).into(image);
Picasso.get().load(messageData.getImageUrl()).placeholder(R.drawable.placeholder_image).into(image);
TextView titleView = (TextView) dialogLayout.findViewById(R.id.title);
titleView.setText(messageData.getTitle());
TextView subTitleView = (TextView) dialogLayout.findViewById(R.id.subtitle);
Expand Down
8 changes: 8 additions & 0 deletions AppLaunchClientAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
Expand All @@ -16,6 +20,10 @@ buildscript {
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}

Expand Down

0 comments on commit 2aa9042

Please sign in to comment.