johnspurlock / app-privacy-report-viewer Goto Github PK
View Code? Open in Web Editor NEWLocal viewer for App Privacy Reports in iOS 15
License: MIT License
Local viewer for App Privacy Reports in iOS 15
License: MIT License
Check https://raw.githubusercontent.com/johnspurlock/app-privacy-report-viewer/v0.6/src/app.ts
error: TS18022 [ERROR]: A method cannot be named with a private identifier.
#tryGrowByReslice(n: number) {
at https://deno.land/[email protected]/io/buffer.ts:85:3
TS18022 [ERROR]: A method cannot be named with a private identifier.
#reslice(len: number) {
~~~~~~~~
at https://deno.land/[email protected]/io/buffer.ts:94:3
TS18022 [ERROR]: A method cannot be named with a private identifier.
#grow(n: number) {
~~~~~
at https://deno.land/[email protected]/io/buffer.ts:141:3
Found 3 errors.
----------------------------------
请问这个如何解决。
Dragged my JSON file in and got this error:
SqliteError: UNIQUE constraint failed: domain3.filename, domain3.bundleId, domain3.domain, domain3.context, domain3.initiatedType
PS Z:> deno run --allow-net --allow-env --allow-read=.,which deno --allow-write=. https://raw.githubusercontent.com/johnspurlock/app-privacy-report-viewer/v0.7/src/app.ts
error: Cannot resolve module "file:///Z:/deno".
windows 10 64bit powershell
This project is super helpful and interesting, thanks!
Are you intending on making this available under any sort of open source license, in case some of the code ends up being useful in other projects?
iTunes provided an API which allows to retrieve app icon via bundleID:
https://itunes.apple.com/lookup?bundleId=${bundleId}
So I wonder if we can stored the icon url when we initialize the database and use later.
interface AppInfo {
resultCount: number;
results: Array<{
artworkUrl60: string;
}>
}
async function getIconByBundleId(bundleId: string): Promise<string> {
const appStoreLookupUrl = `https://itunes.apple.com/lookup?bundleId=${bundleId}`
const response = await fetch(appStoreLookupUrl)
const appInfo: AppInfo = await response.json()
if (appInfo.resultCount !== 1) {
console.log('Can not determine AppStore ID: multiple or none results');
console.log(appInfo);
return Promise.reject('bad json')
} else {
console.log(appInfo.results[0].artworkUrl60);
return Promise.resolve(appInfo.results[0].artworkUrl60);
}
}
(Prototype, I am not very good at TypeScript :( )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.