Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Screen Calls IOS #332

Open
AnassDriate opened this issue Apr 4, 2023 · 3 comments
Open

On Screen Calls IOS #332

AnassDriate opened this issue Apr 4, 2023 · 3 comments

Comments

@AnassDriate
Copy link

Hello,

This issue was traited many years ago, BUT The solution that was proposed is NOT working out of the box (at least for me)

1 . I created the VOIP pem and added it to sygnal
my sygnal conf looks like :

  lu.bundle.id:
    type: apns
    keyfile: /etc/sygnal/AuthKey.p8
    key_id: keyid
    team_id: 1F1F1F1F1F1
    topic: lu.mychat
    push_type: alert

 lu.bundle.id.voip:
    type: apns
    certfile: /etc/sygnal/voipem.pem
    topic:  lu.bundle.id
    push_type: voip

Additional information in the BuildSettings.swift

static var pushKitAppIdProd: String {
        return baseBundleIdentifier   ".ios.voip.prod"
    }
    
    static var pushKitAppIdDev: String {
        return baseBundleIdentifier   ".ios.voip.dev"
    }
    
    static var pusherAppIdProd: String {
        return baseBundleIdentifier   ".ios.prod"
    }
    
    static var pusherAppIdDev: String {
        return baseBundleIdentifier   ".ios.dev"
    }

It would be intersting to know if i am missing something.

Regards,

@reivilibre
Copy link
Contributor

Is this related to element-hq/element-ios#7477? Did you solve your problem? (If so, would you be happy to report back on what you fixed if you managed, to help future visitors?)
I'm afraid I don't know enough about APNs to say whether you have it set up correctly.

@AnassDriate
Copy link
Author

@reivilibre thank you for your feedback.
The onscreen notification is working only from my private wifi !! I am behing a firewall and behind a proxy, i start feeling is a question of firewall opening ...
Once i find the solution i will share it with the community,
Regards,

@cofirazak
Copy link

@AnassDriate Have you tried a TURN server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants