Giter Site home page Giter Site logo

Comments (4)

tbeitter avatar tbeitter commented on June 24, 2024

I have a similar issue:
The app is running If started the first time after installing. But after closing it will not start again. I only get a "unfortunately, Friendica has stopped". After that I can reinstall and reconifgure and it will run one time again.

from friendica-for-android.

luelista avatar luelista commented on June 24, 2024

Hi,
that's caused by a reference in the app to google's cloud messaging service. Even if it's not used later on, it is called once if a user is already logged in while starting the app.

One could easily fix that problem by checking for the availability of the gcm library in HomeActivity.java, line 83.
I'd do it myself but I'm a bit busy atm.

Edit: Even a try-catch statement might be enough... I'll give it a try

from friendica-for-android.

tbeitter avatar tbeitter commented on June 24, 2024

Indeed. I got a friendica-debug.apk with deactivated googlecode today. With this version I do not have any problems. Would be great to have a google-free versoin on f-droid, too.

from friendica-for-android.

luelista avatar luelista commented on June 24, 2024

I created a version with a try-catch around the GCM init part. You might try that version and tell me if it works as I don't have a device without google apps.

from friendica-for-android.

Related Issues (20)

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.