Provide Baseline Profiles for Android packages
Problem Statement
Ideally the Sentry Android SDK would ship with baseline profiles. Some more docs around baseline profiles can be found here.
Solution Brainstorm
An Android Emulator (33+) + an app is required to create a baseline profile. Ideally we could re-use our demo app for this and do the following:
- includes all sentry modules as dependency
- create a single baseline profile
- per module: get class names (maybe from classes.jar?) and use it as a whitelist filter the app baseline-profile.txt to create a module specific baseline-profile
We have to understand if it's worth it. It would make a difference only for apps which don't use the baseline profiles at the moment. Also, the improvements would be only regarding the SDK initialization time, not the whole app startup. And how would we create a baseline profile that would benefit all possible SDK versions/setups?
We also want this as with baseline profile the app is crashing