apm icon indicating copy to clipboard operation
apm copied to clipboard

Update for Android-specific project set `bundleSeedId` value to "" and display error on descriptor generation

Open sjabberwocky opened this issue 1 year ago • 5 comments

Updates for the Android-only variant of ANEs will drop the iOS-specific bundleSeedId value to "" and then display an error message that this value is missing and not generate a descriptor after this.

Thoughts about it:

  1. It does not drop the set value to "".
  2. It should generate descriptor without ios-specific parameters.

sjabberwocky avatar Oct 24 '23 14:10 sjabberwocky

Can you elaborate on what you did to get it to drop the config value?

marchbold avatar Oct 25 '23 21:10 marchbold

I believe I've just stumbled upon this.

I am using APM and setting up an Android only app and have:

  • run apm init
  • apm install com.distriqt.PushNotifications
  • apm project get (which shows the bundleSeedId parameter as null)
  • apm generate app-descriptor

returns: generate/app-descriptor :: Parameter not valid: bundleSeedId=

Do I need to set bundleSeedId manually to something?

crooksy88 avatar Aug 02 '24 08:08 crooksy88

@crooksy88 If you run apm project config set it will walk through all the config variables for the packages you have installed.

marchbold avatar Aug 05 '24 02:08 marchbold

Thanks Michael, my issue though is that this is an Android only app, whereas the bundleSeedId appears to be an Apple requirement.

So without a bundleSeedId from Apple, what should I set this to, as it is a requirement?

I have currently set it to '1' which has removed the error.

Thanks.

crooksy88 avatar Aug 05 '24 09:08 crooksy88

Ah yeah, if you aren't producing an iOS build just set it to any value is fine. I have a bit of work to do around specifying project platform outputs and handling this but I'm working on it.

marchbold avatar Aug 07 '24 11:08 marchbold