Coder Social home page Coder Social logo

react-native-code-push-saga's People

Contributors

cooperka avatar duranmla avatar geof90 avatar lostintangent avatar xxsnakerxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-code-push-saga's Issues

syncOnInterval, 'SYNC' action not working

If I set for instance syncOnInterval to 30 seconds (and updateDialog true), release a new update, a dialog never shows up. Only when I restart the app (and thus load the saga again) does the prompt show up.
The same issue when dispatching a SYNC action, nothing happens.

Any ideas?

codePushSaga. Cannot read property 'sync' of undefined

Hi!
I'm passed all steps about integrating react-native-code-push,
after that I've installed react-native-code-push-saga and import it to the project^ beside that - to the root saga.
But I'm receiving "Cannot read property 'sync' of undefined" when trying to yield it or invoke in any other way.

p.s. I'm using wix navigation in my app.

export default function* () { yield takeLatest(Action.CHANGE_CONNECTION_STATUS, checkNetwork) yield takeLatest(Action.GET_COUNTRY, getCountry) yield takeLatest(Action.GET_REGION, getRegion) yield spawn(watchAlertChannel) yield spawn(codePushSaga) yield all([ categories(), feedbacks(), producers(), bankInfo(), products(), profile(), filters(), search(), offers(), cart(), bonuses(), ]) }

callbacks can't be generator functions

I thought I could

spawn(codePushSaga, {codePushStatusDidChange: didChange})

where

function* didChange(status) {
    console.log(`status-${status}`)
}

and this would allow me to

yield put(....)

within the didChange function.

But the didChange is never triggered. A normal function does get callled.

Any ideas on how to work around this ?

I'm having to drop the saga and use the codePush lifecycle hooks, then store.dispatch some action.

Uncaught at root

@geof90

Using this in my root saga

yield spawn(codePushSaga, {
    syncOnResume: false
});

The following issue shows up sometime on startup since I added this. Anyway to catch it?

wrong screenshots.

Its actually this

screenshot_1475605144

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.