rafaelfl's Forum Posts

  • 5 posts
  • Hey guys! I'm sorry! I was not following the topic!

    In the repository has a capx example. Basically I have created a C2 plugin that calls the cordova-gizwits-scan-qrcode code.

    To get it working you have to:

    1. Add the cordova-gizwits-scan-qrcode plugin to your config.xml. I made a copy of the original repository in github.com/rafaelfl/cordova-gizwits-scan-qrcode.

    <plugin name="https://github.com/rafaelfl/cordova-gizwits-scan-qrcode.git" spec="https://github.com/rafaelfl/cordova-gizwits-scan-qrcode.git"/>

    Another way to do this is cordova plugin add https://github.com/rafaelfl/cordova-gizwits-scan-qrcode.git .

    2. Create a folder named simpleqrscanner in your "Construct 2\exporters\html5\plugins" and copy the content of the src folder to it.

    3. Restart C2. In your C2 project, using the double-click, include the plugin simpleqrscanner into your project.

    4. Follow the sample file: create the action Decode QR Code and handle the conditions QR Code has been decoded, QR Code was cancelled and Error decoding the QR Code.

    That's all folks! I didn't tried to use it in C3 (I don't know how plugins are managed in it), but when I have some time I will read about it.

    Regards!

    Rafael.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi radbrothers!

    Thx for the feedback! I don't have any experience using the PhoneGap, so I have no idea why this is happening. :(

    Have you tried to search that name inside the plugin?

    Regards,

    Rafael

  • Hey guys!

    I was looking for a solution that allows me to capture usage data from an app developed using the C2. I have discovered the Amplitude (http://www.amplitude.com), a very good tool to understand your users' behaviours!

    The plugin is available in my GitHub in github.com/rafaelfl/amplitude-plugin.

    This plugin allows you to log any actions performed by the user, passing parameters (or not) to the service!

    Any issues, please let me know. :-)

    Best regards,

    Rafael.

  • Hey guys!

    Recently I needed a feature that explores the use of a QR Code Scanner in my C2 app. I have searched for similar plugins, but the majority of them could decode them from sprites or saved images (which is a pain in iOS: that is my case ). I also have found the `barcodescanner` plugin, but I had some difficulties customizing it...

    So, I have implemented a C2 plugin that is based on the `gizscanqrcode` Cordova plugin. I have made a copy of it in my GitHub just for convenience.

    The C2 plugin can be found in https://github.com/rafaelfl/simpleqrscanner. A capx example is also provided.

    I hope this can be useful for you.

    Regards,

    Rafael.

  • I am with the same problem... No clue how to solve. :/

  • 5 posts