- We should support attaching operations to JVM at very low level to make using Tools safe (without need to support this while using exact functions).
- There are cases in code where supporting this was omitted and could lead to problems (described in ENG-2787)
Details
Logout on Android app (emulator and device) and check whether works properly.
This change will not affect iOS.
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/android/app/src/cpp/jniHelpers.h | ||
---|---|---|
32 ↗ | (On Diff #21462) | another option might be using inline function to shorten code, because this is simply one-line function, but looks like in codebase this pattern is preferred so sticking to this one |
native/android/app/src/cpp/jniHelpers.h | ||
---|---|---|
32 ↗ | (On Diff #21462) | Let's name a class with a noun - not an adjective. Perhaps NativeAndroidAccessProvider could work, but up to you. |
native/android/app/src/cpp/jniHelpers.h | ||
---|---|---|
32 ↗ | (On Diff #21462) | Regarding the inline, the docs https://en.cppreference.com/w/cpp/language/inline say
Additionally, for member functions https://isocpp.org/wiki/faq/inline-functions#inline-member-fns-more the inline keyword is implicit. I'm not sure how about struct. |