GithubHelp home page GithubHelp logo

app-privacy-report-viewer's People

Contributors

adobin avatar johnspurlock avatar metbril avatar qinyuhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

app-privacy-report-viewer's Issues

报错了~~

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.
----------------------------------

请问这个如何解决。

License

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?

feature request: display icon based on bundleID

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 :( )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.