<div dir="ltr">Hi.<div><br></div><div>There is something missing on the email you sent.</div><div><br></div><div><span style="font-size:12.8px">You said</span></div><div><span style="font-size:12.8px">I added in my </span><span style="font-size:12.8px">DeviceRegistration.swift file the method:</span><br style="font-size:12.8px"></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">But nothing appears, not sure if the mail client removed the code.</span></div><div><br></div><div>Do you see any error message on Xcode console? If yes, share them.</div><div><br></div><div>Do you have a paid Apple developer account? Push notifications don't work on free accounts.</div><div>Are you testing on a real device? Push notifications don't work on simulator.</div><div>Is the device asking for the push permissions?</div><div><br></div><div>Is your server available online so I can take a look?<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 29, 2017 at 2:57 PM, Polina Koleva <span dir="ltr"><<a href="mailto:polina.n.koleva@gmail.com" target="_blank">polina.n.koleva@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
I am trying to run Swift 3 HelloWorld app ( HelloWorldSwift<br>
<<a href="https://github.com/aerogear/aerogear-ios-cookbook/tree/master/UnifiedPushHelloWorld" rel="noreferrer" target="_blank">https://github.com/aerogear/<wbr>aerogear-ios-cookbook/tree/<wbr>master/UnifiedPushHelloWorld</a>><br>
) but I have a problem with the self-signed certificate.<br>
Looking at the documentation ( ios troubleshooting<br>
<<a href="https://aerogear.org/docs/unifiedpush/aerogear-push-ios/guides/#troubleshooting" rel="noreferrer" target="_blank">https://aerogear.org/docs/<wbr>unifiedpush/aerogear-push-ios/<wbr>guides/#troubleshooting</a>><br>
) and changing it a little bit for Swift 3 , I added in my<br>
DeviceRegistration.swift file the method:<br>
<br>
<br>
<br>
But it still doesn't work. The method is not invoked at all. Do I miss<br>
something?<br>
<br>
Any help will be appreciated.<br>
<br>
Polina<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/iOS-Troubleshooting-when-server-uses-a-self-signed-certificate-Swift-3-tp1115.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.<wbr>n5.nabble.com/iOS-<wbr>Troubleshooting-when-server-<wbr>uses-a-self-signed-<wbr>certificate-Swift-3-tp1115.<wbr>html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
</blockquote></div><br></div>