Skip to content

feat: Make AppStartState methods public for Hybrid SDKs & add some getters#1623

Closed
jennmueng wants to merge 1 commit intomainfrom
jenn/app-start-public
Closed

feat: Make AppStartState methods public for Hybrid SDKs & add some getters#1623
jennmueng wants to merge 1 commit intomainfrom
jenn/app-start-public

Conversation

@jennmueng
Copy link
Copy Markdown
Contributor

📜 Description

Makes getInstance and isColdStart public on AppStartState

Adds getAppStartEnd and getAppStart getter methods to return the millis long values for Hybrid SDKs.

💡 Motivation and Context

The methods were package-private and RN was not able to access them in getsentry/sentry-react-native#1696, also we would need to get the start and end timestamps.

💚 How did you test it?

Not tested as I never built the Java SDK before and don't know my way around yet.

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

@github-actions
Copy link
Copy Markdown
Contributor

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.
`Instructions and example for changelog`$

Please add an entry to CHANGELOG.md` to the "Unreleased" section under the following heading:

To the changelog entry, please add a link to this PR (consider a more descriptive message):`

- Make AppStartState methods public for Hybrid SDKs & add some getters(#1623)

If none of the above apply, you can opt out by adding _#skip-changelog_ to the PR description.

Generated by 🚫 dangerJS against cee2a43

@marandaneto
Copy link
Copy Markdown
Contributor

not needed due to #1609

@marandaneto marandaneto deleted the jenn/app-start-public branch November 23, 2021 08:39
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.

2 participants