Report question

Question: How to figure out the app ID programmatically at runtime?