[Aerogear-users] iOS Troubleshooting when server uses a self-signed certificate Swift 3

Julio Cesar Sanchez Hernandez jusanche at redhat.com
Mon May 29 09:56:03 EDT 2017


Hi.

There is something missing on the email you sent.

You said
I added in my DeviceRegistration.swift file the method:

But nothing appears, not sure if the mail client removed the code.

Do you see any error message on Xcode console? If yes, share them.

Do you have a paid Apple developer account? Push notifications don't work
on free accounts.
Are you testing on a real device? Push notifications don't work on
simulator.
Is the device asking for the push permissions?

Is your server available online so I can take a look?



On Mon, May 29, 2017 at 2:57 PM, Polina Koleva <polina.n.koleva at gmail.com>
wrote:

> Hey,
> I am trying to run Swift 3 HelloWorld app ( HelloWorldSwift
> <https://github.com/aerogear/aerogear-ios-cookbook/tree/
> master/UnifiedPushHelloWorld>
> ) but I have a problem with the self-signed certificate.
> Looking at the documentation ( ios troubleshooting
> <https://aerogear.org/docs/unifiedpush/aerogear-push-ios/
> guides/#troubleshooting>
> ) and changing it a little bit for Swift 3 , I added in my
> DeviceRegistration.swift file the method:
>
>
>
> But it still doesn't work. The method is not invoked at all. Do I miss
> something?
>
> Any help will be appreciated.
>
> Polina
>
>
>
> --
> View this message in context: http://aerogear-users.1116366.
> n5.nabble.com/iOS-Troubleshooting-when-server-uses-a-self-signed-
> certificate-Swift-3-tp1115.html
> Sent from the aerogear-users mailing list archive at Nabble.com.
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170529/ccba0e54/attachment-0001.html 


More information about the Aerogear-users mailing list