Giter Site home page Giter Site logo

geo_chat's People

Contributors

nguyenthong avatar thongprogramming avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geo_chat's Issues

Rxjs problems

dash page controller, what is the first page applicaiton show users accessible rooms dash_controller.

var promise = RoomService.all(key, locationArr, distance, user_location, range);
var observable = rx.Observable
    .fromPromise(promise)
    .map(function (container) {
      return container.circles;
    });

  observable.subscribe(function (circles) {
    $scope.circles = circles; // the circles arrived over time, after the promises was initialized
  });

The room services is where method RoomService.all() was called and return container object room_service.js

uiGmapGoogleMapApi.then(function(maps) {
  geoQuery.on("key_entered", function(key, location, distance) {
     roomRef.child(key).once("value", function (data) {
       //todo remove this in production
       //console.log(key + " entered query at " + location + " (" + distance + " km from center)");
       //console.log(data.val());

This code query every rooms inside the 2km radius then an through the function userInCircleDetection(){} for checking the room user can access.
*Therefore I think the problem might be in this part, it checking every room, when it hit the first room it already return the promises *

Cordova problem

I think the problem related to Android platform installation was caused by my old Cordova installation. There seem to be a "bug" in npm so that if I type "npm install cordova -g" it's failing silently if there is already some old Cordova installation. Mine was 3.3.1-0.1.2 from year 2013 when I made Cordova applications. That one was not npm installation. Ionic is not compatible with so old Cordova.
It's always good to check all program versions with -v before doing any other troubleshooting.

Installing Dependencies

Hi there,

Would love to check out your app. When I execute a 'bower install' for the dependencies , it just stalls after RSVP:

}, {
"type": "input",
"message": "Answer",
"name": "prompt",
"level": "prompt"

Any idea how to fix this?

Thanks for sharing.

bower

You could correct README.MD installation Bower to bower (No capital B)

Firebase 3

Hi man,

What do you think to migrate the example to use Firebase 3? ๐Ÿ‘ฏ

Regards, Nicholls

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.