shajem
shajem

Reputation: 2121

Identifying Private APIs in my application

I have read that one could use the class dump command line tool to identify private APIs in a project/application. I went through several tutorials but it was not useful to identify the private APIs i have used in my application.

So could someone please help me, by giving me step by step instructions as how to identify private APIs using class dump.

If there is any better, easier way of identifying private APIs, please share it with me.

Upvotes: 2

Views: 401

Answers (1)

AtkinsonCM
AtkinsonCM

Reputation: 376

The only way that you're going to have a private API in your own project is if you put it there yourself (or use some open source code that you didn't realize implemented private APIs). That said, people have ran into private-api related app approval issues even when not really using private apis.

One way to check your application for private API's is by using App Scanner.

http://www.chimpstudios.com/appscanner/

I haven't used it myself but I've had it recommended by colleagues.

Upvotes: 1

Related Questions