@babacoder/rn-page-size-helper
v0.1.1
Published
Package to check the page size of the app
Downloads
104
Readme
@babacoder/rn-page-size-helper
A React Native module that detects Android 16KB Page Size compatibility by scanning your installed APK and checking each .so library for ELF alignment.
This helps you determine whether your app is compatible with devices using the new 16KB memory page size (Android 15+, some OEMs).
Installation
npm install @babacoder/rn-page-size-helperUsage
import { scan } from '@babacoder/rn-page-size-helper';
useEffect(() => {
const runScan = async () => {
try {
const result = await scan();
console.log('Scan result:', result);
} catch (e) {
console.error('Scan error:', e);
}
};
runScan();
}, []);Contributing
License
MIT
Made with create-react-native-library
