Skip to content
Meteor integration in NativeScript using nativescript-websockets
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
scripts
src
.gitignore
.npmignore
LICENSE
README.md
package.json
tsconfig.json

README.md

Meteor integration in NativeScript using nativescript-websockets

$ tns plugin add nativescript-meteor-client

To init your Meteor connection and classes add this snippet just after the platformNativeScriptDynamic import:

import {platformNativeScriptDynamic} from "nativescript-angular/platform";

require('nativescript-meteor-client')({
    url: 'http://127.0.0.1:3000',
    debug: true,
    timeout: 5000
}, require('nativescript-websockets'));

...

debug and timeout are optional.

An example application can be fount at nativescript-ng-drawer-seed.

You can’t perform that action at this time.