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 save GIF image in sdcard?
Android app not working in Reliance JIO 4G connection
Changing Unique ID to Email Android Firebase
Android Move to previous fragment without reload
How to change application name in NativeScript
Group By date in User's Timezone stored as Datetime format
Creating a mongo database in android
How to fix com.android.builder.internal.aapt.AaptException: Failed to crunch file?
How to reduce Bitmap background behind transparent view being redrawn?
Which is best method to post delay when send message to Bluetooth?
Android TV Portrait App
sbt-android: unable to use scala-reflect on android: java.rmi.Remote not found
Render ipcam-view stream into SurfaceTexture -Android
Google Play-Services do not update - What can I do?
MediaDataRetriever - OutOfMemoryException when using getFrameAtTime()
Attempt to invoke virtual method 'void com.newflame.pro.app.AppController.addToRequestQueue(com.android.volley.Request)' on a null object reference

Categories

HOME
service-worker
kentico
css3
numbers
fftw
mstest
sh
jsf-2.2
pclxl
big-o
recordrtc
performancepoint
syntaxnet
vimdiff
naivebayes
azure-iot-hub
powershell-v5.0
pyramid
dataflow-diagram
parcelable
tiki-wiki
bulletphysics
rpgle
finagle
magento-1.8
recurring-events
python-2.6
database-comparison
laravel-eloquent
indy10
getlasterror
preloader
install.packages
wc
berkeley-db-je
flask-restful
jboss-4.2.x
textsum
chai-as-promised
zenhub
static-cast
libjpeg
d3-force-directed
rxtx
centrifuge
dotnetnuke-7
watch-os-2
nikeplus-api
cda
exim4
maybe
rate-limiting
page.js
ember-cli-rails
liquid-layout
skspritenode
mirror
google-refine
node-serialport
zend-currency
umlgraph
cross-join
uncaught-typeerror
contrast
websphere-esb
windows-embedded-standard
scriptaculous
artemis
oocss
octal
pagedown
traceability
server-administration
panda3d
pyunit
adobe-media-server
usertype
ilasm
fitbounds
entity-attribute-value
saxparseexception
landscape-portrait
strsep
quotation-marks
presentation-layer
objective-j
delimited-text
object-database
binomial-heap
blender-2.49
mathematical-notation
localizable.strings
information-management

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