android


React Redux: Syncing user data when app is in background


I am writting an android application using react native and redux. I need to send some event to backend server when there is a new SMS and app is in background. I have handled recieving SMS part using broadcase reciever. How do i access the App state when i am running syncing part as there is no component live. I don't want to directly access the store and access the state.
I stumbled upon redux-saga while reading through stack overflow questions and answers, but that also needs access to state. Am i missing anything here ?
Redux-saga is a very useful library if you need or will need to perform a number of operations in response to what happens in your app in the background. However to actually answer your question about receiving events while your RN app is in the background: you are in luck on android because there is headless.js. In iOS you can do this natively and communicate with RN according to the docs.

Related Links

How to pass catch block statement another Activity?
Listview gets recreated and changes the previous views
How to lay image over another image where the middle of the image should align with the bottom of the image underneath
Placing button or other widget at runtime on android app
Can Eclipse generate a default proguard configuration file
Refresh a particular tab using ActionBarSherlock
What is the rule of the name of the packages that start with number?
Lots of GC when scrolling ListView (with holder pattern)
Using Service stub during Activity Junit test
Downloading html source on Android Crashes the Application
animated sprite from texturepacker xml
get search result from website and parse it into android application using KSOAP2
SharedPreferences Base64 encoding assistance needed
Android on incoming call change the name on screen
Does flash/flex have `matrix` for image scaling as Android?
Play Sequence of audio files with SoundPool class of Android

Categories

HOME
kentico
jpa
polymer
linkedin
alexa-skills-kit
mstest
requirements
bitbucket-api
xbee
data-visualization
azure-container-service
retrofit2
qpython
fabric.io
32bit-64bit
openpyxl
startup
rtf
angular-dart
google-form
flash-player
libusb
screen-readers
asp.net-mvc-viewmodel
soci
solrcloud
google-maps-autocomplete
spring-async
dynamically-generated
definitelytyped
surveymonkey
opentk
custom-post-type
genexus-sd
paperjs
browser-sync
alm
anki
testbed
jbutton
hibernate-validator
slacktextviewcontroller
swagger-php
salesforce-communities
ods
typesafe-config
resolution
parser-generator
subclipse
microsoft-metro
outputcache
knime
vugen
static-cast
dt
d3-force-directed
vibrate
reachability
expectations
android-wake-lock
riot
boomerang
lazybones
django-urls
cgi-bin
airbrake
mass-assignment
primitive-types
administration
easyrtc
webfinger
entry-point
reflector
spring-remoting
terminate
android-usb
eclipse-kepler
notorm
artemis
gtm-oauth2
scrypt
composite-component
swfobject
wimax
device-width
cgimage
role
landscape-portrait
twitterizer
cloudfiles
nhprof
binomial-heap
eclipse-marketplace
zen
glui
wordprocessingml
fault-tolerance
linfu-dynamicproxy
technical-debt
java1.4
online-storage

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