src/permissions.android.js
function hasAndroidX() {
	//noinspection JSUnresolvedVariable
	if (!global.androidx || !global.androidx.core || !global.androidx.core.content || !global.androidx.core.content.ContextCompat || !global.androidx.core.content.ContextCompat.checkSelfPermission) {
		return false;
	}
	return true;
}
function hasAndroidX() {
	//noinspection JSUnresolvedVariable
	if (!global.androidx || !global.androidx.core || !global.androidx.core.content || !global.androidx.core.content.ContextCompat || !global.androidx.core.content.ContextCompat.checkSelfPermission) {
		return false;
	}
	return true;
}
function hasAndroidX ( ) { //noinspection JSUnresolvedVariable if ( ! global . androidx || ! global . androidx . core || ! global . androidx . core . content || ! global . androidx . core . content . ContextCompat || ! global . androidx . core . content . ContextCompat . checkSelfPermission ) { return false ; } return true ; }
Checks to see if androidx is installed and has the proper calls for it.
@returns {boolean}
Checks to see if androidx is installed and has the proper calls for it .