QuickBlox / q-municate-android

Qmunicate Android chat application
MIT License
252 stars 198 forks source link

Background call issue #300

Closed starlucas629 closed 1 year ago

starlucas629 commented 6 years ago

I built iOS and android video call app using quickblox webRTC. I used Q-municate. It has all functions. Background call runs well in iphone to iphone, and android to android. But iphone->android, android->iphone background call don't run at all. Push notification runs well in all platforms. I hope to get correct answer as soon as. Thanks

starlucas629 commented 6 years ago

?

RomanPronin commented 6 years ago

@starlucas629, what version of Q-mun do you use?

starlucas629 commented 6 years ago

I used last version in github

RomanPronin commented 6 years ago

You state you use latest version 2.7 from Goole Play market, and there are no background calls between iOS - Android?

starlucas629 commented 6 years ago

Yes.

RomanPronin commented 6 years ago

It is not true. Background calls between platforms work fine, our testers have just tested this and it's all ok. Can assume you've made some changes in your project.

starlucas629 commented 6 years ago

I only changed quickblox account keys, and firebase sender id. buildTypes { release { minifyEnabled false debuggable false ext.enableCrashlytics = true signingConfig signingConfigs.release buildConfigField "String", "APP_ID", "\"70164\"" buildConfigField "String", "AUTH_KEY", "\"65Re2y7gEG2jus6\"" buildConfigField "String", "AUTH_SECRET", "\"FzGhdxZma9cPwE6\"" buildConfigField "String", "API_ENDPOINT", "\"https://api.quickblox.com\"" buildConfigField "String", "CHAT_ENDPOINT", "\"chat.quickblox.com\"" buildConfigField "String", "ACCOUNT_KEY", "\"SX9yCWuaQsCJ7RUDkiru\"" buildConfigField "String", "FIREBASE_AUTH_PROJECT_ID", devFirebaseAuthProjectId resValue "string", "facebookAppId", prodFacebookAppID resValue "string", "sender_id", "\"998226485013\"" manifestPlaceholders = [fabricApiKey:prodFabricApiKey] }

    debug {
        debuggable true
        versionNameSuffix ' (debug)'
    }
}
starlucas629 commented 6 years ago

Background call runs well in same platforms. But it doesn't run between iphone and android.

RomanPronin commented 6 years ago

Do push messages work between platforms?

starlucas629 commented 6 years ago

No, It doesn't work too

starlucas629 commented 6 years ago

After I call from iphone to android (android is in background mode), if i open android app, I can see push alert. Dose the push notification run?

RomanPronin commented 6 years ago

Background calls wake up by push notifications, so you need to configure notifications correctly on both platforms. For details have a look to doc.

starlucas629 commented 6 years ago

I already checked all doc. I think my Quickblox account has issue. It is free account. May be can I use paid account? Thanks.

starlucas629 commented 6 years ago

If I use paid account, can I solve this issue?

RomanPronin commented 6 years ago

I think you can resolve issue on your current account, but sure you can use paid account and get more privileges.

starlucas629 commented 6 years ago

means? Now can I solve this issue in free account?

starlucas629 commented 6 years ago

Please let me know what should I change in the github code.

RomanPronin commented 6 years ago

All you need to change is stated in the doc. So, I want to clarify, is cross-platform messaging working? Does offline notification come on Android (on android side app is not running), when you send chat message from iOS? And from Android? Also, attach your project build.gradle file.