Packaging Android Plugin for marketplace - resources package names

Hello!

 

I need to include resources from two different packages in android.

 

On this page: https://docs.coronalabs.com/native/plugin/submission.html it says to include the package name in package.txt

 

However, what do I do if I have two package names for two different resource folders?

 

Thanks

Hi @Deleur Apps,

I just updated that page yesterday. One of the (previous) instances of “package.txt” was incorrect. The current model is what you should follow.

https://docs.coronalabs.com/native/plugin/submission.html

Take care,

Brent

Oh, sorry, my mistake (I misread your question)… let me check into this…

Brent

If you want to include multiple resources belonging to different packages in your plugin you’ll need to create separate directories for each additional resource.
 
Example:

android/resources/res
                 /package.txt
                 /package1/res
                 /package1/package.txt
                 /package2/res
                 /package2/package.txt

As seen above the first resource is specified according to the Corona documentation and additional resources are added by creating a new directory package__n where n is incremented by 1 for each additional resource you want to include.

Hi @Deleur Apps,

I just updated that page yesterday. One of the (previous) instances of “package.txt” was incorrect. The current model is what you should follow.

https://docs.coronalabs.com/native/plugin/submission.html

Take care,

Brent

Oh, sorry, my mistake (I misread your question)… let me check into this…

Brent

If you want to include multiple resources belonging to different packages in your plugin you’ll need to create separate directories for each additional resource.
 
Example:

android/resources/res
                 /package.txt
                 /package1/res
                 /package1/package.txt
                 /package2/res
                 /package2/package.txt

As seen above the first resource is specified according to the Corona documentation and additional resources are added by creating a new directory package__n where n is incremented by 1 for each additional resource you want to include.