system.getInfo returns nil for app code/version?

system.getInfo(“androidAppVersionCode”)

and

system.getInfo(“appVersionString”)

always return nil, any idea why?  This is on a “fully built” (with ver #/str specified, a target store, private keystore, etc) apk running on device.  installed via adb tho - are these perhaps values that are only visible if app downloaded from store? (it’s about the only thing i can think of left to try)

i’d really like my app to “know” what version it is, hopefully without having to create (and maintain) my own copy of the version info in code.  ideas?  thx

I also would love to know if this dont work or just dont work in the simulator?

On simulator it probably won’t work

I also would love to know if this dont work or just dont work in the simulator?

On simulator it probably won’t work