Giter Site home page Giter Site logo

rikulo / gap Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 7.0 483 KB

A bridge implementation of the Apache Cordova mobile framework(a.k.a. PhoneGap) in Dart. It enables developers to access native facilities of multiple mobile platforms using the HTML, CSS, and Dart.

Home Page: http://rikulo.org

License: Other

Dart 89.56% Shell 10.44%

gap's People

Contributors

adam-singer avatar benbai123 avatar henrichen avatar leafinity avatar priezz avatar tomyeh avatar urchinfinity avatar zert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gap's Issues

Urgent: specific js package version 0.2.0

Do not use any for a version for libraries. That means you are pinkie-swearing that you'll support any version of a package.

We deprecated package js with version 0.3.0 (it's a tombstone, effectively).

Please set version 0.2.0 for package js.

Thanks!

Camera/Geolocation

How can I help to get the Camera and Geolocation added back to the rikulo_gap api?

Dart and Cordova

I was trying to use dart and rikulo_gap to develop a mobile application that requires access to the camera.

I tryed to use cordova 2.1, 2.8 and 2.9, and no success at all.

On logcat it shows an error: "Cannot call method 'callSync$1'" of undefined at ...
dart_gap_callsyncerror
dart_gap_logcat

The code that i'm running is the one provided to showAcceleration in the rikulo gap documentation page.
http://docs.rikulo.org/ui/latest/Getting_Started/Building_Native_Mobile_Application

Screenshots folder
https://www.dropbox.com/sh/5nsz52g6ea4oxy9/mkMIeclER5/Screenshots/Dart

Many Thanks

Generate JavaScript - error

I have very simple app and at the moment only one line in main function
Future device = enableDeviceAccess();
When I generate JavaScript file I'm getting error:

[path]/web/packages/js/js.dart:987:11: Hint: The class "Proxy" overrides "operator==", but not "get hashCode".
operator==(other) => identical(this, other)
^^
[path]//web/packages/js/js.dart:1002:34: Hint: Using "MirrorSystem.getName" may result in larger output.
String member = MirrorSystem.getName(invocation.memberName);
^^^^^^^

Still can find what is wrong. My dart settings:

Dart Editor version 0.6.19_r26297
Dart SDK version 0.6.19.0_r26297
rikulo_gap 0.5.1+4

FileSystem

Don't know if it was neccasary but wrote my own Gap-FileSystem-API because on my Android i had problems with dart:html's window.requestFileSystem (s.th like webkitRequestFileSystem isn't supported) to read and write data to the native Filesystem of the device. So with dart:js i wrapped cordovas File/FileTransfer-PlugIn in my Dart code. Not very readable, not very nice but working fine for me. May be you can use some parts of https://github.com/ankaufma/GAP_FileSystemAPI for rikulo_gap.
PS: It seems impossible for me to handle Cordova-Exceptions?! e.g. if a file/dir doesn't exist

Problem with cordova-2.2.0.js

Hi!

I have problem with recent version of Cordova. When I build with PhoneGap web buld system, application works fine, but when I do build with android SDK, I have such error in browser:

    Uncaught [object Object] HelloWorld.dart.js:13034
    $.$$throw HelloWorld.dart.js:13034
    $.Proxy__forward HelloWorld.dart.js:13939
    $$.Proxy.noSuchMethod$1 HelloWorld.dart.js:11067
    $$.Object.get$fired HelloWorld.dart.js:2373
    $$._cordovaLoaded_anon.call$0 HelloWorld.dart.js:11611
    $.scoped HelloWorld.dart.js:15748
    $._cordovaLoaded HelloWorld.dart.js:15687
    $$.JsUtil__doWhen0_anon.call$0 HelloWorld.dart.js:11929
    $$.invokeClosure_anon.call$0 HelloWorld.dart.js:11621
    $$._IsolateContext.eval$1 HelloWorld.dart.js:6675
    $._callInIsolate HelloWorld.dart.js:14789
    $.invokeClosure HelloWorld.dart.js:13142
    function$ HelloWorld.dart.js:13159

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.