Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make app start profiling work in tests #136

Merged
merged 1 commit into from
May 2, 2024

Conversation

stefanosiano
Copy link
Collaborator

added a new content provider that writes app start profiling options to a config file to make the SDK think it was already initialized.
This way app start profiling will work the first time the app is started, too, like in tests.
Fixes #134

…to a config file to make the SDK think it was already initialized
@sdzhong
Copy link
Contributor

sdzhong commented May 1, 2024

Hey @stefanosiano, Is the expectation for this PR that the com.example.vu.android.ThirdPartyContentProvider.onCreate() frame should appear as per this comment (its transaction)?

Do we have any sample EmpowerPlantActivity transactions for me to refer to with this PR, or does the aforementioned transaction work as a reference?

@stefanosiano
Copy link
Collaborator Author

@sdzhong sure, this is a transaction example and here is the associated profile
Yes, the expectation is to see com.example.vu.android.ThirdPartyContentProvider.onCreate() in the profile

@sdzhong sdzhong self-assigned this May 2, 2024
@sdzhong sdzhong self-requested a review May 2, 2024 22:23
Copy link
Contributor

@sdzhong sdzhong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sdzhong sdzhong merged commit 0f1ac4c into main May 2, 2024
@sdzhong sdzhong deleted the fix/app-start-profiling-tests branch May 2, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable App Start Profiling
2 participants