Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin: new channel API #5

Merged
merged 7 commits into from
May 21, 2018
Merged

plugin: new channel API #5

merged 7 commits into from
May 21, 2018

Commits on Mar 27, 2018

  1. plugin: improved events channel, app channel

    Add 'system' channel to send 'pause' and 'resume' events to node.
    Add 'events' to the channel to allow user defined events.
    Allow user defined objects to be sent through the channel.
    enricogior authored and jaimecbernardo committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    df75bb4 View commit details
    Browse the repository at this point in the history
  2. docs: update channel API in README.md

    Add documentation for the channel API changes.
    enricogior authored and jaimecbernardo committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    aac179b View commit details
    Browse the repository at this point in the history
  3. plugin: add app.datadir API to get writable path

    Adds app.datadir to the bridge to access a writable persistent path
    from the nodejs-mobile runtime, which should be the FilesDir on
    Android and the NSDocumentDirectory on iOS.
    Also sets the os.tmpdir() to the CacheDir on Android.
    jaimecbernardo committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    2fec512 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9da75bf View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2018

  1. plugin: fix falsy-valued messages sent to node

    Messages sent to the node runtime with values that evaluate as false
    in conditions were reaching node as undefined value.
    Fixes this behavior so that only undefined values can reach node.
    jaimecbernardo committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    dfa18b4 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2018

  1. Configuration menu
    Copy the full SHA
    775839e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2018

  1. ios: wait for pause event handler on background

    Waits for the pause event handler to finish before letting the iOS
    application suspend after going to the background.
    Passes a pauseLock object to the pause event handlers to release so
    the app channel can signal the application it can suspend.
    jaimecbernardo committed May 7, 2018
    Configuration menu
    Copy the full SHA
    0eab389 View commit details
    Browse the repository at this point in the history