Click here to Skip to main content
15,887,596 members
Home / Discussions / iOS
   

iOS

 
AnswerRe: GPS background tracking app Pin
Super Lloyd18-Jul-16 14:31
Super Lloyd18-Jul-16 14:31 
QuestionHow to call json WebService in iOS using swift.? Pin
mbatra3114-Jul-16 23:15
mbatra3114-Jul-16 23:15 
AnswerRe: How to call json WebService in iOS using swift.? Pin
Richard MacCutchan15-Jul-16 1:11
mveRichard MacCutchan15-Jul-16 1:11 
QuestionHow to call jSON web service from an iOS app..? Pin
mbatra3112-Jul-16 2:27
mbatra3112-Jul-16 2:27 
AnswerRe: How to call jSON web service from an iOS app..? Pin
Richard MacCutchan12-Jul-16 5:31
mveRichard MacCutchan12-Jul-16 5:31 
Questionusing nsNotificationenter Pin
Member 1259993223-Jun-16 0:15
Member 1259993223-Jun-16 0:15 
AnswerRe: using nsNotificationenter Pin
Super Lloyd12-Jul-16 17:47
Super Lloyd12-Jul-16 17:47 
QuestionHow to encode pdf file in UTF8 to for multipart http post Pin
rdediana18-Jun-16 3:43
rdediana18-Jun-16 3:43 
QuestionBest iOS framework for animation ? Pin
Michael Pauli24-May-16 1:41
Michael Pauli24-May-16 1:41 
AnswerRe: Best iOS framework for animation ? Pin
Robert Yank13-Jul-16 22:35
Robert Yank13-Jul-16 22:35 
QuestionIs a front-end for FaceTime possible? Pin
Frank Alviani31-Aug-15 9:36
Frank Alviani31-Aug-15 9:36 
AnswerRe: Is a front-end for FaceTime possible? Pin
Dennis E White13-Oct-15 6:50
professionalDennis E White13-Oct-15 6:50 
AnswerRe: Is a front-end for FaceTime possible? Pin
Member 1207320820-Oct-15 3:01
Member 1207320820-Oct-15 3:01 
QuestionGoogle Map iOS Sdk with Navigation Speech Pin
Gaurav.p81013-Jul-15 19:18
Gaurav.p81013-Jul-15 19:18 
AnswerRe: Google Map iOS Sdk with Navigation Speech Pin
Dennis E White14-Jul-15 13:42
professionalDennis E White14-Jul-15 13:42 
QuestionHow to Convert UIView to PDF format? Pin
Member 1163171131-May-15 23:45
Member 1163171131-May-15 23:45 
AnswerRe: How to Convert UIView to PDF format? Pin
Richard MacCutchan1-Jun-15 0:45
mveRichard MacCutchan1-Jun-15 0:45 
AnswerRe: How to Convert UIView to PDF format? Pin
Dennis E White3-Jun-15 5:05
professionalDennis E White3-Jun-15 5:05 
QuestionNot able to receive notifications on device Pin
Member 1172504527-May-15 23:18
Member 1172504527-May-15 23:18 
SQL
Hi,

We are using Push Sharp library in VB .Net for sending notifications to iOS device but we arent able to receive notifications on our device.
Code is included below. We have checked the handshake using openSSL and thats also working properly. Please let us know whats wrong in the code.


-------
Imports System.Data.SqlClient
Imports System.Data
Imports System.Linq
Imports System.Web
Imports System.Net.Security
Imports PushSharp
Imports PushSharp.Apple
Imports System.Security.Authentication
Imports System.Net.Sockets
Imports System.Security.Cryptography.X509Certificates
Imports System.Configuration
Imports Newtonsoft.Json
Imports System.IO
Imports System.Collections.Generic
Imports System.Net
Imports PushSharp.Core

Partial Class mobile_app_notification_list
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Try

Dim push As New PushBroker()

push = New PushBroker()

Dim cert As New ApplePushChannelSettings(True, File.ReadAllBytes(String.Format("C:\Websites\mobileapp.sanjeevkapoor.com\PushAppSanjeev.p12")), "pass@123")

Dim settings As New PushServiceSettings()

settings.AutoScaleChannels = False
settings.Channels = 3
settings.MaxAutoScaleChannels = 3

push.RegisterAppleService(cert, settings)

push.QueueNotification(New AppleNotification().ForDeviceToken("6d9471a58384af100a0b854ec907729efb6c5334e4c26822e97eaccc6d48313d").WithAlert("Hello World!").WithBadge(1).WithSound("default"))
'push.StopAllServices(True)

Response.Write("notification sent successfully")
Catch ex As Exception
Response.Write(ex.Message)
End Try

End Sub
-------
AnswerRe: Not able to receive notifications on device Pin
Dennis E White4-Jun-15 5:04
professionalDennis E White4-Jun-15 5:04 
QuestioniOS app promotion code Pin
furkanavcu26-Apr-15 5:08
professionalfurkanavcu26-Apr-15 5:08 
QuestionIOS Pin
Member 1147575824-Feb-15 2:01
Member 1147575824-Feb-15 2:01 
AnswerRe: IOS Pin
Richard MacCutchan24-Feb-15 3:14
mveRichard MacCutchan24-Feb-15 3:14 
AnswerRe: IOS Pin
ZurdoDev24-Feb-15 4:57
professionalZurdoDev24-Feb-15 4:57 
QuestionSQl Server Database translator Pin
Member 1136485111-Feb-15 3:20
Member 1136485111-Feb-15 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.