Questions tagged [apn]

Use this tag for Access Point Name only. For Apple Push Notifications use the [apple-push-notifications] tag.

An Access Point Name (APN) is the name of a gateway between a mobile network and another computer network.

For more information, see:

242 questions
4
votes
1 answer

I'm getting the errorNum :8 while sending the push notifications to ios devices

var apn = require('apn'); var gcm = require('android-gcm'); export default function notification( devicetype, devicetoken, alert, userid, action, profilepic, image, youtubeimage, id ) { if(devicetoken != "(null)") { var…
4
votes
1 answer

Current used APN?

I added two APN configurations and then scanned the APN database. I noticed that both APN entries are marked as "current=1". how can I identify the currently active APN configuration programmatically? thanks!
Shatazone
  • 2,422
  • 6
  • 28
  • 38
4
votes
2 answers

APNS (Apple Push Notification Service) with Node JS

I am looking to create APNS (Apple Push Notification Service), where the server will be sending notifications to the iOS devices. I am able to make the push notifications work via PHP using the SAME device token and the SAME certificate, however, I…
galhe2
  • 165
  • 1
  • 4
  • 10
4
votes
2 answers

how we can test Production Push notifcation on testflight?

I have tested push notifications using developer certificate and it is working well but when i tried through production certificate and make a build with IOs app store deployment profile and upload to itunes for testflight internal testing.…
Gokrazee
  • 81
  • 1
  • 7
4
votes
2 answers

Route network requests only over mobile data connection

Is there a way to force all my network requests to be made through my APN (i.e. over a mobile network data connection) and not through wifi, without having to disable wifi? I want to know if it is possible for my Android app to use exclusively the…
Tsimmi
  • 1,828
  • 6
  • 23
  • 35
4
votes
1 answer

Android: Read APN using ADB shell

According to this post, manually-entered APNs are contained here: /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.x­ml However, this file can't be accessed using adb shell cat or adb pull. Is there any workaround for a…
A.G.
  • 2,037
  • 4
  • 29
  • 40
3
votes
1 answer

Android - Handling changing apn connection

I was wondering how Android is doing that. Example: WAP Push indicates an incoming MMS. Change APN to MMS. Download MMS. Restore connectivity to default APN. So how is this change of APN done? Why: I want to use an other APN to connect to the…
Al_Tazir
  • 31
  • 1
  • 4
3
votes
2 answers

Android APN Enforcement

Someone know if there's a programmatically way to use a specific defined APN on the device which is not the default one? Thanks.
Paz
  • 365
  • 2
  • 4
  • 8
3
votes
2 answers

App with WRITE_APN_SETTINGS permission is not available to Galaxy Tab 10.1 GT-P7500 on Android Market

I have found that Android application with WRITE_APN_SETTINGS permission is not available to Samsung Galaxy Tab 10.1 GT-P7500 on Android Market. I can see also from developer console that app is not available to this device. On the other hand, here…
Gudaps
  • 1
  • 1
  • 7
3
votes
1 answer

ROCKET CHAT ADMIN PANEL -- Push notifications not working when click on Send Test Push

Rocket.Chat app version: 3.2.0 (223) Rocket.Chat server version: 0.72.3 Device: iPhone 7/iOS 12.1 I have done all the setup mentioned in below link. https://rocket.chat/docs/administrator-guides/notifications/push-notifications But every time I…
Arpit Jain
  • 1,660
  • 12
  • 23
3
votes
1 answer

iOS Notification Dynamic Action Categories

I need to show dynamic actions for push notifications by payload . something like this : { Platform": "apns", "Title":"Booking from API", "Content": "Hello there", "Category": "confirmBooking", "Actions":[ { …
Nininea
  • 2,671
  • 6
  • 31
  • 57
3
votes
4 answers

TopicDisallowed Push Notification

I have a small issue. I am trying to test my push notification feature but I can't figure it out. I set up a webRTC page that I'm using to send the notification (I don't own 2 IOS devices). All the certificates/keys were generated using fastlane…
Modreanu Eduard
  • 233
  • 3
  • 11
3
votes
0 answers

How to make FCM as quick as possible on both iOS and Android?

I am trying to speed up notifications delivery on firebase notifications. Because sometimes it might take 10 seconds to get the notification. Currently I am using this message to send notification with admin.messaging().send(message). const message…
AlexZvl
  • 2,092
  • 4
  • 18
  • 32
3
votes
0 answers

node-apn : Provider should be created per notification request or one-time

I am new to node-apn. I have implemented it in nodejs application. Below is my code. var APN = require('apn') var apnProvider = new APN.Provider({ token: { key: "PATH_TO_FILE", keyId: "KEY", teamId: "TEAM" }, …
Ankur Akvaliya
  • 2,989
  • 4
  • 28
  • 53
3
votes
0 answers

Apple push notifications not working for testflight build

So I have a app uploaded to testFlight and i am trying to send push notification to all the users. Some of the users are getting the notification and some are not. So i tried using a third party tool(Pusher) to send push notification. But still i…
harshal jadhav
  • 5,456
  • 2
  • 18
  • 26
1 2
3
16 17