You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make GetCustomAttribute calls optional in JniTypeManager
Optionally do not look for the `JniAddNativeMethodRegistrationAttribute`.
It turns out that this attribute is not commonly present in
Xamarin.Android applications and so all of the calls to
`GetCustomAttribute` failed to find it, incurring unnecessary
performance penalty on the application.
Make the code consult a global flag (in case of Xamarin.Android it is
set on the build time) which tells it whether or not to skip querying
for the above custom attribute. The flag is `true` by default to
maintain backward compatibility.
0 commit comments