Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Conversation

marandaneto
Copy link
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing

🔮 Next steps

@marandaneto marandaneto requested a review from bruno-garcia as a code owner June 5, 2020 14:59
@marandaneto marandaneto marked this pull request as draft June 5, 2020 14:59

env:
CMAKE_VERSION: "3.10.2.4988404"
NDK_VERSION: "21.0.6113669"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
NDK_VERSION: "21.0.6113669"
NDK_VERSION: "21.2.6472646"

github actions has this installed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we have a fixed version on the build file
https://github.com/getsentry/sentry-android/blob/master/sentry-android-ndk/build.gradle.kts#L41

21.2.x is not available on LGTM GH App. yet.

@marandaneto marandaneto changed the title run sample app and do not crash run sample app and do a simple E2E test Jun 5, 2020
- uses: malinskiy/action-android/emulator-run-cmd@release/0.0.7
with:
cmd: make runConnectedTests
api: 25
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ideally making a matrix here

// .baseUrl("https://sentry.io/")
// .client(OkHttpClient.Builder().addInterceptor { chain ->
// // token from https://sentry.io/settings/account/api/auth-tokens/
// val request = chain.request().newBuilder().addHeader("Authorization", "Bearer ${TOKEN}}").build()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bruno-garcia do you know if its possible to generate a token on demand? cus we can't read from a system env as this runs on the emulator.
also, it's not "nice" to leak the token on the code, Reverse engineering is too easy at this point.

Copy link
Member

Choose a reason for hiding this comment

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

How would we get the generated token?
I agree it's not ideal to embed the key in the apk. We should be able to provide an apk alone and test it out since the testing code is not part of the apk

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants