Hi! I just made two PRs to feature-generator. The first uniformizes the plugin name to lowerCamelCase and the second updates the docs as we discussed earlier in this thread.
I think this generator is getting really good! The only missing piece is the android playground app. I could not test the plugin from the android app, even by opening the test page using the QR code… Everything else (iOS, Web) just works out of the box. Thanks! Tiago On 13 Nov 2017 09:35 -0200, Tiago Alves <[email protected]>, wrote: > Hi! > > When you open the iOS playground app, it does open the app in the example > folder. And that is great! To develop my plugin I can make a test app in > examples/index.vue and then run/test using the apps in the playground folder. > > We should find a way to make it possible with android without the whole > hassle of generating a QR code, scan, etc. I will try again later. > > Thanks! > Tiago > > On 13 Nov 2017 04:45 -0200, Drew Hansen <[email protected]>, wrote: > > Hi, Tiago, > > > > The playground can only build your native source code, but you also need a > > Jsbundle to scan to test your work, you can use http://dotwe.org/vue or use > > "weex test.vue" to generate a QRcode, after you scan the QRcode, you can > > confirm your plugin logic is valid. Also, If you have other improvements, > > you are welcome to create PR on generator-weex-plugin:feature-generator > > <https://github.com/weexteam/generator-weex-plugin/tree/feature-generator>. > > > > Thanks! > > > > > > > > 2017-11-13 10:12 GMT+08:00 Tiago Alves <[email protected]>: > > > > > Hi Drew! > > > > > > I tested the new plugin generator. Everything worked with android, but I > > > keep getting the default playground app and not the plugin test app. I > > > tried different things in the IndexActivity.java, but couldn’t get it to > > > work. > > > > > > On iOS, the test app opens properly. The problem is that the plugin does > > > not load properly. > > > > > > I will dig deeper later, but I though you could have an idea on how to > > > solve these issues. > > > > > > Thanks! > > > Tiago > > > > > > On 7 Nov 2017 11:36 -0200, Drew Hansen <[email protected]>, wrote: > > > > Hi Tiago, > > > > > > > > I can not more agree with your idea, and the current plugin integration > > > > mechanism still has some problems, I think it's time we should put some > > > > people in order to optimize the developer experience with plugins. > > > > > > > > Thanks for getting back to me. > > >
