Click here to Skip to main content
15,885,676 members
Home / Discussions / iOS
   

iOS

 
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 
AnswerRe: SQl Server Database translator Pin
Aavishkar Jugwanth16-Feb-15 1:41
Aavishkar Jugwanth16-Feb-15 1:41 
GeneralRe: SQl Server Database translator Pin
Member 1136485116-Feb-15 18:26
Member 1136485116-Feb-15 18:26 
GeneralRe: SQl Server Database translator Pin
Richard MacCutchan16-Feb-15 21:32
mveRichard MacCutchan16-Feb-15 21:32 
QuestionWeb Project Pin
Member 43350902-Feb-15 0:44
Member 43350902-Feb-15 0:44 
AnswerRe: Web Project Pin
Dennis E White2-Feb-15 10:47
professionalDennis E White2-Feb-15 10:47 
GeneralRe: Web Project Pin
Lin Anh28-Apr-16 5:20
Lin Anh28-Apr-16 5:20 
GeneralRe: Web Project Pin
Dennis E White28-Apr-16 19:41
professionalDennis E White28-Apr-16 19:41 
JokeRe: Web Project Pin
Aavishkar Jugwanth16-Feb-15 1:37
Aavishkar Jugwanth16-Feb-15 1:37 
GeneralRe: Web Project Pin
Dennis E White17-Feb-15 5:22
professionalDennis E White17-Feb-15 5:22 
QuestionRe: Web Project Pin
ZurdoDev24-Feb-15 4:58
professionalZurdoDev24-Feb-15 4:58 
JokeRe: Web Project Pin
Wendelius24-Feb-15 5:02
mentorWendelius24-Feb-15 5:02 

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.