Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Started writing a firebase plugin (first targets: analytics, crash, notifications and remote configs, for iOS and Android). Anyone interested and ready to support me ?
@hgy29 I'd love to know how to write a plugin. Is there any chance that you provide step by step documentation? I understand the overall concepts, but I do not understand how to implement and the tools required. For example, do you need Eclipse to create the .so files, or some other compiler/tools?
@simwhi, @antix, Writing plugins is not easy, even for me, it would takes me ages to write a tutorial for this, especially since I basically hate writing docs!
I do have a doc on how to set up a build environment for gideros and plugins, which is the first step, unfortunately it is in French (written by one of my employees), and it doesn't explain how to actually write plugins.
The major difficulty is that writing a plugin often requires understanding the internals of Gideros at some point, and the best way to acquire this knowledge is to dig into gideros source code, which in turn means that you no longer need a doc after all...
So, I need to understand the internals of Gideros to make third party plugins? I thought that it was fairly easy armed with a little knowledge. My understanding was:
1. write a bridge between Lua <--> C/C++ <--> Android / iOS (create .so files for each CPU architecture). 2. Write a Lua script to reference the plugin. 3. Add the plugin to you Android studio project. 4. Test it thoroughly.
We would really appreciate it If you could share this document as we can translate it into English. We will of course share this back to the community.
No, that kind of synchronous call is quite easy, what is not is queuing and processing events, I mean asynchronous work. Other things that require some knowledge of gideros internals is passing gideros objects (Sprite, Texture, or whatever) to a plugin.
@hgy29 If you complete one target (for example analytics) and can make a basic list how to do it ( C++ code, native code, ...). Then we can follow and help you!
@antix, the document I posted earlier may be a good start.
Back to Firebase, I managed to get analytics working on iOS, and I have the code for Android too (untested). I'll post my sources here this afternoon, and go on with notifications (which is why I do it at first).
So far the most time consuming part is getting started: integrating Firebase SDK in android and iOS exports with a script so that it doesn't require manual work, and writing a skeleton for the plugin.
I've finally finished my firebase plugin for iOS and Android. It supports crash reporting, analytics, remote configs and notifications. However I spent so much time on it that I decided to make it paid. 5EUR for a single app licence, and 15EUR for unlimited number of apps from the same developer. PM me if interested.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@hgy29, so it begins! We need a marketplace for paid plugins, both to make existing plugs more visible and to let people know of this alternative Gideros revenue stream.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
yes, it needs to be added here (as a featured listing, i think a code by any main contributor to the core gideros code should have a place at the featured list automatically): http://giderosmobile.com/tools and again some spam needs to be removed from there (see Latest tools at the bottom)
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I would suggest that Widget Candy and possibly Particle Candy links be removed since the creators offer pretty much refuse to reply to support requests regarding bugs (which exist in at least Widget Candy) and feature requests.
Comments
Likes: simwhi, vitalitymobile
https://deluxepixel.com
Likes: pie, talis, simwhi, vitalitymobile, NatWobble
Likes: antix
Writing plugins is not easy, even for me, it would takes me ages to write a tutorial for this, especially since I basically hate writing docs!
I do have a doc on how to set up a build environment for gideros and plugins, which is the first step, unfortunately it is in French (written by one of my employees), and it doesn't explain how to actually write plugins.
The major difficulty is that writing a plugin often requires understanding the internals of Gideros at some point, and the best way to acquire this knowledge is to dig into gideros source code, which in turn means that you no longer need a doc after all...
So, I need to understand the internals of Gideros to make third party plugins? I thought that it was fairly easy armed with a little knowledge. My understanding was:
1. write a bridge between Lua <--> C/C++ <--> Android / iOS (create .so files for each CPU architecture).
2. Write a Lua script to reference the plugin.
3. Add the plugin to you Android studio project.
4. Test it thoroughly.
We would really appreciate it If you could share this document as we can translate it into English. We will of course share this back to the community.
Many thanks.
Simon
Likes: pie
The difficult part when writing a plugin is managing events for async calls, but I suppose you can learn from other plugins too.
I wish you succeed, we really need more people maintaining gideros, both core and plugins.
Likes: pie, NatWobble, HubertRonald
Likes: antix
That's great! Many thanks.
I'm interested in asynchronous plugins such as text to speech and ad providers etc.
I'll post the English version here when it's done.
Likes: simwhi
Likes: simwhi
Back to Firebase, I managed to get analytics working on iOS, and I have the code for Android too (untested). I'll post my sources here this afternoon, and go on with notifications (which is why I do it at first).
So far the most time consuming part is getting started: integrating Firebase SDK in android and iOS exports with a script so that it doesn't require manual work, and writing a skeleton for the plugin.
Likes: vitalitymobile, antix
Likes: vitalitymobile
Likes: mertocan, SinisterSoft, pie, totebo, theone10
https://deluxepixel.com
@hgy29 Add Realtime database please
Likes: SinisterSoft
Likes: SinisterSoft
Likes: totebo
https://deluxepixel.com
http://giderosmobile.com/tools
and again some spam needs to be removed from there (see Latest tools at the bottom)
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://deluxepixel.com
Likes: SinisterSoft