Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ntrp/nativescript-meteor-client
Meteor integration in NativeScript using nativescript-websockets
https://github.com/ntrp/nativescript-meteor-client
angular-2 meteor nativescript typescript
Last synced: 3 months ago
JSON representation
Meteor integration in NativeScript using nativescript-websockets
- Host: GitHub
- URL: https://github.com/ntrp/nativescript-meteor-client
- Owner: ntrp
- License: mit
- Created: 2016-12-03T20:15:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:29:22.000Z (about 1 year ago)
- Last Synced: 2024-09-28T17:21:48.366Z (3 months ago)
- Topics: angular-2, meteor, nativescript, typescript
- Language: TypeScript
- Homepage:
- Size: 565 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Meteor integration in NativeScript using nativescript-websockets
```bash
$ tns plugin add nativescript-meteor-client
```To init your Meteor connection and classes add this snippet just after the `platformNativeScriptDynamic` import:
```javascript
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](https://github.com/ntrp/nativescript-ng2-drawer-seed/tree/meteor).