Giter Club home page Giter Club logo

meteor-remote-ddp's People

Contributors

gwendall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

meteor-remote-ddp's Issues

RemoteDDP is not defined

Hello,

Simply adding RemoteDDP("http://localhost:5000") in lib/common.js folder throws the following error:

ReferenceError: RemoteDDP is not defined
    lib/collections.js:1:1
    /Users/insaneinc/projects/react/clientpro/.meteor/local/build/programs/server/app/lib/collections.js:18:4
    /Users/insaneinc/projects/react/clientpro/.meteor/local/build/programs/server/boot.js:242:10
    Array.forEach (native)
    Function._.each._.forEach (/Users/insaneinc/.meteor/packages/meteor-tool/.1.1.10.2npnf5++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
    /Users/insaneinc/projects/react/clientpro/.meteor/local/build/programs/server/boot.js:137:5

No error on the client though.
This is a noob question, but i expected to be able to access the server collections one the connection is established. I have the same server side collections also defined in the lib/collections.js file.

Any info please? Thanks.

Remote User Login Works - Reload disconnects user

Hi,

I created a simple meteor application that uses the remote-ddp package to connect to a meteor server (System A) with a full app.

I want to use the users of the remote users of the system A in this new app.

I added following code in a file the client/lib folder of the new app the following code:
(points to server A)

RemoteDDP("http://192.168.7.112:3000");

I'm now able to log into the new app with an existing user. Hurray!
But then I reload the page, I get the following message in the browsers console:

Error logging in with token: Error: You've been logged out by the server. Please log in again. [403]

When I took a closer look at the ddp messages, I saw that the login message was sent to the new server instead of server A after the reload.

Do you have a clue what might cause this behaviour and how to fix it?

Cheers,
Gerwin

Auto refresh doesn't work in android app

I am developing android app with meteor, for my need I use remote-ddp package. I use to develop in mobile device by meteor run android-device --verbose. If I do any changes in code, android app doesn't refresh but browser reload perfectly. After removed remote-ddp package it works fine in both browser and app. Can you please checkout this issue? If you need my help from my side please ask me.

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.