{"id":20643894,"url":"https://github.com/adjust/aeproductcontroller","last_synced_at":"2025-05-10T08:31:09.760Z","repository":{"id":5521266,"uuid":"6722900","full_name":"adjust/AEProductController","owner":"adjust","description":"Small wrapper for SKStoreProductViewController that handles tracking links.","archived":true,"fork":false,"pushed_at":"2013-11-07T11:00:51.000Z","size":116,"stargazers_count":33,"open_issues_count":0,"forks_count":6,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-03-22T07:51:26.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adjust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-16T14:42:18.000Z","updated_at":"2024-09-05T11:46:11.000Z","dependencies_parsed_at":"2022-07-06T23:02:38.703Z","dependency_job_id":null,"html_url":"https://github.com/adjust/AEProductController","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2FAEProductController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2FAEProductController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2FAEProductController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2FAEProductController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjust","download_url":"https://codeload.github.com/adjust/AEProductController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389741,"owners_count":21900805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T16:14:14.234Z","updated_at":"2025-05-10T08:31:09.488Z","avatar_url":"https://github.com/adjust.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"AEProductController\n===================\n\nSmall wrapper for `SKStoreProductViewController` that handles tracking links.\n\n## Why?\n\nApple's `SKStoreProductViewController` doesn't allow the use of tracking links. This wrapper offers the convenient user experience of the new In-App App Store view while opening your tracking link in the background including all redirects.\n\n## How?\n\nDownload or clone this repo and add the `AEProductController` subdirectory into your Xcode project by dragging it into the Project Navigator.\n\nOpen the source file of your view controller that should present the `SKStoreProductViewController` and add the following line at the top of the file:\n\n    #import \"AEProductController.h\"\n\nIn the private interface of your class add the following property:\n\n    @property (nonatomic) AEProductController *productController;\n\nIn the method that should trigger the presentation of the `SKStoreProductViewController` add the following lines:\n\n    self.productController = [AEProductController controllerWithProductId:@\"\u003cappId\u003e\" callbackUrl:@\"\u003curl\u003e\"];\n    [self.productController showInViewController:self];\n\nReplace the placeholders `\u003cappId\u003e` and `\u003curl\u003e` with your appId and your affiliate link. This appId is part of the iTunes URL: If this was your app `https://itunes.apple.com/us/app/spray-can/id315215396?mt=8`, then your appId would be `315215396`.\n\nThis presents the `SKStoreProductViewController` and calls the affiliate link including all redirects in the background.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Faeproductcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjust%2Faeproductcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Faeproductcontroller/lists"}