android


Clarification about ios and android push and ionic


This may sounds stupid, but after I read a lot about this topic Im still a little bit confusing about push.
To me there are 2 kind of push:
1 - When your phone is idle and suddenly an "alert" pops up in the phone telling you something has happened with your app
2 - When you are "inside" the app and you get notified about something (maybe a new user joined the chat in a chat application)
After been testing and reading the documentation for ionic push
http://docs.ionic.io/docs/push-overview
Im still not sure if ionic push provide #1 or #2.
They say a lot about APNs (which I understand has to do with #1) but then when I read the quick star here:
http://docs.ionic.io/docs/push-quick-start
Then it states that:
"Once you have both details, make sure your application is OPEN and then use the following cURL request to send a push. Replace the highlighted text with your own values."
Huh? So ionic push is about push sent to your active application? Not when it is idle?
The qucik start guide also has this part in it :
TELL YOUR APP TO USE LIMITED PUSHES
Limited pushes aren't native push notifications, and are meant for
testing against our API. They'll work in a browser or emulator, but
won't arrive when your app is minimized, and the tokens won't last
more than 2 hours.
To configure your app to use full featured push notifications, follow
the Full Setup guide.
So this setups something they call "limited pushes" which work only with open app. In order to setup traditional pushes, you need to follow the Full Setup guide

Related Links

Android Save images to SQLite or SDCard or memory
Android Listview - pointToPosition returning invalid_position
Attaching file in email
Add delay during adding of view in android
Service not available in geoCoder
Clear Edittext onclick issues
Dynamically change the text of TextView from Spinner
Android - How to do if customer wants to specify his key for exporting project to .apk?
How to measure or estimate bitmap size in Android Versions that do not support bitmap.getByteCount()
illegal instruction while running iperf
Putting included layout at top and bottom of main layout
Android TextView `ifAtLineStart` method?
play two audio files simultaneously
Intent does not resolve
tabview with fragments in android
Custom android.widget.Filter

Categories

HOME
shell
batch-file
localization
facebook-oauth
telegram
gpu
android-studio-2.2
apiblueprint
javacc
rom
web-hosting
tail
pyqt4
retrofit2
trac
nfs
plist
why3
php-5.6
tput
google-form
stellar.js
frequency-distribution
docx
linear-algebra
easyphp
xmonad
google-container-registry
jmp
asp.net-core-webapi
simpleitk
href
dataflow-diagram
xcode-ui-testing
has-and-belongs-to-many
progress-bar
vex
android-sugarorm
login-script
lubridate
servicestack-text
protege4
swagger-php
openerp-7
jvmti
parser-generator
chronicle-map
pom.xml
dbcontext
posixct
corruption
swingworker
testrail
omxplayer
actor-platform
beamer
nss
php-socket
ikiwiki
include-guards
sapscript
osc
qtwebengine
cosine-similarity
metatrader5
raygun
encryption-asymmetric
winginx
vbe
spring-3
notorm
superscrollorama
floating-point-exceptions
flex-mobile
user-tracking
fsevents
xui
office-2007
binomial-heap
qtabbar
localizable.strings
entitykey

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App