# apk-ipa-reader **Repository Path**: satrong/apk-ipa-reader ## Basic Information - **Project Name**: apk-ipa-reader - **Description**: Browser Javascript read apk file and ipa file's name, logo, version. (Part of codes come from fir.im website) - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-07-31 - **Last Updated**: 2022-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Browser Javascript read apk file and ipa file's name, logo, version. > Part of codes come from https://fir.im . # Usage ```js var reader = new APK_IPA_READER({ callback: function(apps){ // do something after get file info }, workerScriptsPath: './' }); reader.byInput(fileInputDom); // or // reader.byDrag(dragDom); reader.removeEvent(); // remove event listener ``` - `callback`: The callback function, will get two arguments: `error`(if ok it will be `null`) and `fileinfo`(i.e. name, logo, version) - `workerScriptsPath`: set zip.workerScriptsPath, you can look for http://gildas-lormeau.github.io/zip.js/ - `fileInputDom`: The file input element, i.e. `document.getElementById('fileInputId')` # Demo https://satrong.github.io/apk-ipa-reader/