- 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
- Branch
- error-handling-21
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/android/app/src/cpp/jniHelpers.h | ||
---|---|---|
32 | 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 | 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 | 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. |