Why aren't my bitbucket changes propagating?

I just released my first native plugin yesterday, and I have some changes to make to it.  The readme on my bitbucket repo said it would auto build every hour, but it has been over a day and I don’t see the changes when I build a corona app.

Changes were to my jar file… perhaps the hook disregards binaries?

What’s going on?

Thanks

Go clear out your plugins cache.  

Corona caches parts of plugins on the machine, so it might have the old stuff cached.

@meister.public  I’m curious about your use cases for the plugin and whether you might support strings in addition to arrays of integers. I’ve been structuring a lot of my own submissions around passing bytes around, typically via strings, e.g. this and this and this.

My main motivation has been reducing friction with C++ APIs that expect potentially large, or even streaming, memory blocks. I’ve steered away from non-C++ native development and so don’t know how close some of the byte data structures on the mobile OSes map to the arrays I know, e.g. whether they would require copies and so on. Any info appreciated.  :slight_smile:

@roaminggamer where is the plugin cache located on a mac?

Well the basics are this.  Lua chars are 1 byte, Java chars are 2 bytes.  So if you have data coming from a bluetooth device in bytes in Java but read in as a string and sent to lua as a string you are going to loose half your data.

I’m speculating as to what plugin is yours, but there is a recent update to a bluetooth plugin about an hour ago (Sunday 5p ET). Is this a live plugin? It’s best to reach out to support@coronalabs.com and have them check to make sure the push from bitbucket to the public servers is working.

Rob

Go clear out your plugins cache.  

Corona caches parts of plugins on the machine, so it might have the old stuff cached.

@meister.public  I’m curious about your use cases for the plugin and whether you might support strings in addition to arrays of integers. I’ve been structuring a lot of my own submissions around passing bytes around, typically via strings, e.g. this and this and this.

My main motivation has been reducing friction with C++ APIs that expect potentially large, or even streaming, memory blocks. I’ve steered away from non-C++ native development and so don’t know how close some of the byte data structures on the mobile OSes map to the arrays I know, e.g. whether they would require copies and so on. Any info appreciated.  :slight_smile:

@roaminggamer where is the plugin cache located on a mac?

Well the basics are this.  Lua chars are 1 byte, Java chars are 2 bytes.  So if you have data coming from a bluetooth device in bytes in Java but read in as a string and sent to lua as a string you are going to loose half your data.

I’m speculating as to what plugin is yours, but there is a recent update to a bluetooth plugin about an hour ago (Sunday 5p ET). Is this a live plugin? It’s best to reach out to support@coronalabs.com and have them check to make sure the push from bitbucket to the public servers is working.

Rob