Code Monkey home page Code Monkey logo

Comments (5)

itismejy avatar itismejy commented on July 2, 2024

I basically took the android.xml in the firebase_messaging example in your github repo, and replaced with my namespace, and copy pasted the build.gradle for app level and android project level.

These are my gradle.properties:
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

from flutterfire.

russellwheatley avatar russellwheatley commented on July 2, 2024

Hi @itismejy - I was testing android messaging on device + emulator all day yesterday. It does work, please follow setup in example app, remove any if conditions that could block the setup of message handlers.

Also send messages via this nodejs script to test.

from flutterfire.

itismejy avatar itismejy commented on July 2, 2024

hi @russellwheatley, can confirm android messaging works in US, does not work in China. Trying lots of configurations and even though the cloud functions is sending through a proxy and the phone is using a proxy vpn, still not working. Looking for help thanks!

from flutterfire.

itismejy avatar itismejy commented on July 2, 2024

None of our Chinese users can receive firebase messaging even though they have a vpn on

from flutterfire.

russellwheatley avatar russellwheatley commented on July 2, 2024

Firebase does not work in China I'm afraid, according to this stack overflow issue it might work but maybe the devices don't have google play services. Either way, you're best opening an issue on stackoverflow for advice from fellow users on how to solve your issue 🙏

from flutterfire.

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.