Giter VIP home page Giter VIP logo

nat-explorer's People

Contributors

acathur 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  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

nat-explorer's Issues

Out of date

I use Weex to develop app, so far weex is very fast compared to cordova/nativescript/RN (some cases) but unfortunately Weex accesses to native API is difficult. Nat is out of date.

Please upgrade to support latest weex version. Thanks a lot. God bless you

LOCATION_TIMEOUT

Get location 都没有问题。
Watch location 就会报错:
[ERROR]TIMES:1
{"message":"LOCATION_TIMEOUT","code":160080}

[FEATURE REQUEST] Contacts plugin

Hi guys.

Thank you very much for this awesome project. It helped me understand and use weex in so many levels.

Is there a way you could also create a contacts plugin that would allow us to list/add/delete contacts across platforms? This is the only feature I need to start working on our app.

Cheers,
envomer

weex.requireModule('nat/media/audio') 获取的是undefined

按照官方的引导

npm install natjs --save
weexpack plugin add nat-media-audio

然后执行

Nat.audio.play('http://cdn.instapp.io/nat/samples/audio.mp3')

保持
定位到 weex.requireModule('nat/media/audio') 返回的是undefined

weexpack+natjs

起因是我使用natjs调用摄像头会闪退,以及页面无法跳转。而nat-explorer下载的没有问题。我创建的工程如下:

weexpack create xxx
// 安装配置使用最新的weex、babel-stage-0以及没有使用vue-router
cd xxx
npm install
npm install natjs --save
npm install less less-loader pug --save-dev
weexpack platform add android
weexpack plugin add xxx-camear xxx-image xxx-modal

AndroidManifest.xml添加

<activity
            android:name="com.weex.app.WXPageActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <action android:name="com.weex.app.protocol.openurl"/>

                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="com.taobao.android.intent.category.WEEX"/>

                <data android:scheme="http"/>
                <data android:scheme="https"/>
                <data android:scheme="file"/>
            </intent-filter>
        </activity>

然后把nat-explorer源码内src目录下拷贝过来一份

npm run android

成功安装app,首页也没有问题。问题在于无法点击进去子页面。

  • 以及我尝试nat.toast点击路径,是和nat-explorer一致的。
  • 由于是可以点击的,我尝试在主页上直接添加摄像头函数,来自na-explorer/src/views/camera.vue。这个时候应用闪退。

weex文档实在太少,希望作者解答。

之后,我下载了nat-explorer源码,然后npm install & npm run android。这个是没有问题的。
和下载的app一样。

请问这两个还有什么细节上实现差异吗?

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.