question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Classytaxijava crash after reinstall

See original GitHub issue

The app crashes after reinstall. First, user subscribes to a plan. Then I reinstall the app and open the app. App crashes before logging in. Stack trace log:

java.nullpointerexception: attempt to invoke virtual method 'int java.lang.ordinal()' on a null object reference at {package}data.network.firebase.serverFunctionsImpl$4.onComplete(ServerFunctuinsImpl.java:328)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
vafaminatocommented, May 12, 2020

Billing is a business critical process, but that is not reflected in the quality of the samples, or how this Github repo is being managed. Both are woefully inadequate, and when complaints are made they are ignored and shut down. I am not suprised ClassyTaxiJava has issues, it was a rushed piece of work that was left unfinished. Also, it was used to close a completely unrelated github issue #260 .

I think we all need this backend server anyway. This is my first time selling my app in google play. I really don’t know why people are asking for server-less samples. It seems it simply is not secure. Please correct my answer if you think otherwise.

Billing is a business critical process. There should be a Java samples for both server and server-less implementation of the latest billing API. Currently, there are Kotlin versions for both of these. At the start of the year, there were no samples for Java of either of them using the new API. An explicit request was made for a “server-less” java sample, towards the end of the last year. This was a popular request based on “likes”. Here are some related requests: #238 #260 #277 and the new one #278. There were no explicit requests for a server based example at the time. But of course it is also going to be needed. So based on this demand, if you are updating samples, it would make sense to tackle the server less example first. If you are not going to do that, then Google should NOT have communicated on those Github issues above stating that they were working on a Java sample. It was total miscommunication, and it has wasted time planning for this effort. They should have created another issue separate, and stated their intention to deliver a server based product only along the lines of ClassyTaxi. At least then we would have had early notification of this. Instead, we got weeks of miscommunication. Closing off all those issues for Trivial Drive after promising a sample, with a java ClassyTaxi version is just poor management. As for the point of everybody using server-less. It is not possible for everybody to go down this route. As long as the TrivialDriveKotlin example remains and is supported, then there should be a java sample to compliment it. When you read issue #278 (which they reluctantly created) it is like, they pretend this issue has never been asked before.

Thank you for your comment. Yes, somehow it took me one month to setup this purchase flow with the backend server. still there are some uncertainty about the stability of it. Sometimes, I think I have to choose serverless as it is less complicated and straight forward. Or google leaves us no choice… They are totally ignorant. Even when you message them in play console they come back after a week and refer to some android dev. tutorials.

0reactions
LordByron1788commented, May 12, 2020

Yes, sometimes it is difficult to get Play Console Support to understand even the most basic of issues. They seem to lack the right level of training or understanding of how things work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do my apps keep crashing on Android, How to fix it
How to fix apps that keep crashing on Android · 1. Force stop the app · 2. Restart the device · 4. Reinstall...
Read more >
Why are my Android phone apps crashing or closing & how to ...
Find out why your Samsung Galaxy Android phone apps keep crashing, closing, freezing or stop working. Fix the issue with our guide and...
Read more >
11 Quick Ways to Fix Apps Keep Crashing on Android - iMobie
Tip 6. Reinstall the App · Go to Settings > “Apps” or “Application manager” > Choose the app that crashes > Tap the...
Read more >
Sandbox Testing Receipt Validation Without Inapp Purchase
After the the message that the purchase was successful the app crashes. ... using a sandbox test account XCode installation and buying the...
Read more >
Fix an Android device that's restarting or crashing - Google Help
Try the following steps if your phone has any of these problems: Randomly reboots or restarts Shuts down without restarting Restarts constantly: Go...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found