Comments (11)
Yep I have found this issue in inverse too π
from quickblox-ios-sdk.
I got success here
let deviceIdentifier = UIDevice.current.identifierForVendor?.uuidString
let subscription = QBMSubscription()
subscription.notificationChannel = chanel
subscription.deviceUDID = deviceIdentifier
subscription.deviceToken = token
QBRequest.createSubscription(subscription, successBlock: { _, _ in
completion(true)
}) { errorResponse in
Crashlytics.crashlytics().log("ERROR createSubscription = \( errorResponse.error?.error?.localizedDescription ?? "")")
completion(false)
}
from quickblox-ios-sdk.
ΠΡΠΈΠ²ΡΡ, @Maks273!
Π‘Π»Π°Π²Π° Π£ΠΊΡΠ°ΡΠ½Ρ!
Π¦Ρ ΠΏΠΎΠΌΠΈΠ»ΠΊΠ° Π²ΠΊΠ°Π·ΡΡ Π½Π° ΡΠ΅, ΡΠΎ ΠΊΠΎΡΠΈΡΡΡΠ²Π°Ρ, ΡΠΊΠΎΠΌΡ ΠΉΠ΄Π΅ Π΄Π·Π²ΡΠ½ΠΎΠΊ, Π½Π΅ ΠΌΠ°Ρ ΠΏΡΠ΄ΠΏΠΈΡΠΊΠΈ Π½Π° voip push-ΡΠΏΠΎΠ²ΡΡΠ΅Π½Π½Ρ.
Π£ ΡΠ²ΠΎΡΠΌΡ Π²ΠΈΠΏΠ°Π΄ΠΊΡ ΠΌΠΎΠΆΠ΅ Π±ΡΡΠΈ ΠΊΡΠ»ΡΠΊΠ° ΠΏΡΠΈΡΠΈΠ½ ΡΠ°ΠΊΠΎΡ ΠΏΠΎΠ²Π΅Π΄ΡΠ½ΠΊΠΈ. ΠΠΌΠΎΠ²ΡΡΠ½ΠΎ, ΡΠ΅ ΠΏΠΎΠ²'ΡΠ·Π°Π½ΠΎ Π· ΡΡΠ·Π½ΠΈΠΌΠΈ ΡΠ΅ΡΠ΅Π΄ΠΎΠ²ΠΈΡΠ°ΠΌΠΈ (environments): ΡΠ΅ΡΡΠΎΠ²ΠΈΠΌ (test) ΡΠΈ ΠΆΠΈΠ²ΠΈΠΌ (live). Π¦Π΅ ΠΌΠΎΠΆΠ΅ Π·Π°Π»Π΅ΠΆΠ°ΡΠΈ Π²ΡΠ΄ Π·Π±ΡΡΠΊΠΈ Π±ΡΠ»Π΄Π° (develop Π°Π±ΠΎ production). Π’Π°ΠΊΠΈΠΌ ΡΠΈΠ½ΠΎΠΌ, Ρ ΡΠ΅Π±Π΅ ΠΌΠΎΠΆΠ΅ Π²ΠΈΠ½ΠΈΠΊΠ½ΡΡΠΈ ΡΠΈΡΡΠ°ΡΡΡ, ΠΊΠΎΠ»ΠΈ "develop to develop" ΡΠΈ "prod to prod" Π΄Π·Π²ΡΠ½ΠΊΠΈ ΠΏΡΠ°ΡΡΡΡΡ, Π°Π»Π΅ "develop to prod" - Π½Ρ.
Π‘ΠΏΠΎΡΠ°ΡΠΊΡ ΡΠ°Π΄ΠΆΡ ΠΏΠ΅ΡΠ΅Π²ΡΡΠΈΡΠΈ, ΡΠΈ Π²ΠΈΠΊΠΎΡΠΈΡΡΠΎΠ²ΡΡΡΡΡΡ Π±ΡΠ»Π΄ΠΈ, ΠΏΡΠ΄ΠΏΠΈΡΠ°Π½Ρ ΡΡΠ·Π½ΠΈΠΌΠΈ ΡΠ΅ΡΡΠΈΡΡΠΊΠ°ΡΠ°ΠΌΠΈ.
from quickblox-ios-sdk.
Hello @djmckee!
This error indicates that the user receiving the call does not have a subscription for voip push notifications.
In your case, there could be several reasons for this behavior, most likely due to different environments (test or live). It directly depends on the build (develop or production). So, you may have a situation where "develop to develop" or "prod to prod" calls work, but "develop to prod" does not. First and foremost, I recommend checking if you are using builds signed with different certificates.
from quickblox-ios-sdk.
ΠΠ΅ΡΠΎΡΠΌ Π‘Π»Π°Π²Π°! @IlliaChemolosov
Π’Π°ΠΊ, ΠΏΡΠΈΡΠΈΠ½Π° Π· ΡΠ΅ΡΠ΅Π΄ΠΎΠ²ΠΈΡΠ°ΠΌΠΈ Ρ! ΠΠ»Π΅ ΠΏΠΎΠΌΡΡΠΈΠ², ΠΊΠΎΠ»ΠΈ ΡΠ΅Π»Π΅ΡΠΎΠ½ΡΠ²Π°Π² Π· dev to prod, ΡΠΎ ΡΠ΅ΠΉ Π°ΠΊΠΊΠ°ΡΠ½Ρ Π²ΠΈΠ΄Π°Ρ ΡΠ°ΠΊΡ ΡΠ°ΠΌΡ ΠΏΠΎΠΌΠΈΠ»ΠΊΡ ΠΊΠΎΠ»ΠΈ ΡΠ΅Π»Π΅ΡΠΎΠ½ΡΡ Π· dev => dev
Π’Π΅ΠΏΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΡΠ²Π°Π² 2 Π°ΠΊΠΊ Π½Π° Π΄Π΅Π²Ρ Ρ Π²ΡΠ΅ ΠΏΡΠ°ΡΡΡ, Π°Π»Π΅ Π½Π° test flight Π½Ρ :( ΠΎΡΡΠΈΠΌΡΡ 422 error
from quickblox-ios-sdk.
@IlliaChemolosov so the issue is when I testing on test flight. Any tips to check what's causing the issue?
from quickblox-ios-sdk.
Hello @Maks273!
Maybe you're currently using a sandbox certificate. I recommend creating a universal certificate and updating it within the QuickBlox admin panel.
from quickblox-ios-sdk.
@IlliaChemolosov could you send a link to that article pls?
from quickblox-ios-sdk.
@Maks273 https://docs.quickblox.com/docs/ios-push-notifications#generate-a-certificate-signing-request
from quickblox-ios-sdk.
@IlliaChemolosov do I need to generate aspn cer or it can be voip one?
from quickblox-ios-sdk.
@Maks273 It varies based on your app's requirements, especially if you need to receive regular pushes, such as when the app is in the background and notifications arrive. Typically, I create a universal certificate that supports both calls and regular messages (voip and apns). However, you can create individual certificates and add them depending on your requirements, our admin panel supports up to 3 certificates.
from quickblox-ios-sdk.
Related Issues (20)
- Is there any development in SwiftUI on IOS platform? HOT 1
- iOS - Can not make video call once app in background or terminated state. HOT 1
- Calling issue android to ios app background and close/. HOT 1
- iOS 16 Video Issue
- QuickBlox 2.18.0 & QuickBloxWebRTC 2.8.0 can't upload to App Store Connect HOT 3
- Push notifications are not sent to iOS device after regaining internet connection HOT 1
- Notification custom payload HOT 1
- Update user issue HOT 2
- In addition to these functions should there be other? For example, transfer files HOT 1
- Load message Skip value isn't correct. HOT 2
- Issue with calling when login on multiple devices HOT 3
- Support for Rich links using LPLinkView HOT 2
- iOS app crash when call from flutter app - [__NSCFConstantString count]: unrecognized selector sent to instance 0x104a6bc10 HOT 4
- Web to iOS call is not Connecting HOT 5
- The operation couldnβt be completed. (com.quickblox.chat error -1002.) HOT 1
- Getting the notification in testing mode but not in live mode HOT 4
- Last message is not deleted on deleting the dialog HOT 1
- Call connection issue - Failed to send TURN message
- Request failed: client error (422) on sendVoipPush for specific users HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickblox-ios-sdk.