GithubHelp home page GithubHelp logo

leanplum-android-samples's People

Contributors

federico1525 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leanplum-android-samples's Issues

Crash in LeanplumAppCompatActivity

Fatal Exception: java.lang.RuntimeException: Unable to resume activity {android.example/com.android.example.AddressActivity}: java.lang.IllegalArgumentException
       at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3791)
       at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3832)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1681)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6682)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by java.lang.IllegalArgumentException
       at android.os.Parcel.readException(Parcel.java:1697)
       at android.os.Parcel.readException(Parcel.java:1646)
       at android.app.ActivityManagerProxy.isTopOfTask(ActivityManagerNative.java:6617)
       at android.app.Activity.isTopOfTask(Activity.java:6172)
       at android.app.Activity.onResume(Activity.java:1332)
       at android.support.v4.app.FragmentActivity.onResume(SourceFile:437)
       at com.leanplum.activities.LeanplumAppCompatActivity.onResume(SourceFile:37)
       at com.android.example.BaseActivity.onResume(SourceFile:209)
       at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1277)
       at android.app.Activity.performResume(Activity.java:7088)
       at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3768)
       at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3832)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1681)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6682)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

Custom_FirebaseMessagingService checks for wrong key?

Custom_FirebaseMessagingService.java contains the following code:
boolean isLeanPlumPushNotification = (remoteMessage.getData().containsKey("lp_version"));
to check if push message is intended for leanplum, but leanplum SDK has another check inside: messageMap.containsKey("lp_message").
So, it looks like the sample and the actual SDK code are not aligned.
Which of the keys should I use?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.