Push build hint and photo/music

40 views
Skip to first unread message

P5music

unread,
Apr 13, 2021, 2:49:32 AM4/13/21
to CodenameOne Discussions
I had to remove the push build hint because the build was in error about that.
My app has neiter that functionality nor photo/music functionality, so what have I to expunge this time to remove at least the push hint (also photo/music but they are harmless it seems when it comes at building).
Thanks in advance

Shai Almog

unread,
Apr 13, 2021, 9:36:09 PM4/13/21
to CodenameOne Discussions
If you don't include push then the switch should be off.
The usage description is important otherwise you will get a crash in runtime if you use sensitive APIs.

P5music

unread,
Apr 14, 2021, 4:05:49 AM4/14/21
to CodenameOne Discussions
Which feature could force the hint to be included automatically? I do not use any.
I cannot find on the web what could correspond to the push build hint except the push feature itself.
Could it be some old import for a certain feature that is not present in my app at present time?
Regards

Shai Almog

unread,
Apr 15, 2021, 12:30:06 AM4/15/21
to CodenameOne Discussions
Push is enabled by default sometimes. If you uncheck it then it should stay unchecked.

P5music

unread,
Apr 15, 2021, 3:02:12 AM4/15/21
to CodenameOne Discussions
Thanks,
is it the same for newStorageLocation and PhotoLibrary and AppleMusic ones?
Could I remove them? Would be it useful to remove?
Regards

Shai Almog

unread,
Apr 15, 2021, 11:52:13 PM4/15/21
to CodenameOne Discussions
newStorageLocation isn't a permission. Leave that.
The other two aren't permissions either, if you don't use photo/music then you wouldn't have a problem but if you do you would crash in runtime if they are missing. It's your call if you want to remove those.
Reply all
Reply to author
Forward
0 new messages