eppej
eppej

Reputation: 119

Using of PrivateFrameworkHeader-iOS-iPhone-5 API

I stuck a little bit at an easy seeming task...

<THE PLAN>

Developing a cycript-based application that retrieves the information which app has to be installed on the device. The cy-script navigates to the downloadpage (Apple AppStore) of the app and executes the installation-process.

</THE PLAN>

I'm already at the point where the downloadpage is open. So it's not the problem to hook up at the SpringBoard- or AppStore-process and play around, I just can't figure out how to execute the INSTALL button or the installation-process.

Than I found a private framework that definitely could solve my problem. By being hooked up at the AppStored-process and executing

cy# [SSDownloadManager _triggerDownloads]
(StoreServices.framework) the alertview for the authentication pops out, but if I fill in the user-pw nothing happens... of course not, because there's is no information relating to the app bound to the SSDownloadManager... I just don't know how to use that private frameworks... (and of course there's no documentation)

I think somehow it has to be possible with:

cy# [SSPurchase purchaseWithBuyParameters:x]

but don't know how to find out what the buy parameters are...

I would appreciative it, if someone could help me out of this. Hope the explanation wasn't to confusing ^^

Upvotes: 1

Views: 345

Answers (1)

Victor Ronin
Victor Ronin

Reputation: 23278

Did you consider just simulating a click on "Install" button? If you can hook up AppStore, you can do something like that

Upvotes: 1

Related Questions