{"payload":{"allShortcutsEnabled":false,"fileTree":{"docs/ios/phonegap":{"items":[{"name":"assets","path":"docs/ios/phonegap/assets","contentType":"directory"},{"name":"phonegap-methods.md","path":"docs/ios/phonegap/phonegap-methods.md","contentType":"file"},{"name":"phonegap.md","path":"docs/ios/phonegap/phonegap.md","contentType":"file"}],"totalCount":3},"docs/ios":{"items":[{"name":"acquisition-main","path":"docs/ios/acquisition-main","contentType":"directory"},{"name":"amm","path":"docs/ios/amm","contentType":"directory"},{"name":"analytics-main","path":"docs/ios/analytics-main","contentType":"directory"},{"name":"apple-tv-implementation-tvos","path":"docs/ios/apple-tv-implementation-tvos","contentType":"directory"},{"name":"c-mob-privacy-gdpr-ios","path":"docs/ios/c-mob-privacy-gdpr-ios","contentType":"directory"},{"name":"configuration","path":"docs/ios/configuration","contentType":"directory"},{"name":"getting-started","path":"docs/ios/getting-started","contentType":"directory"},{"name":"ios-ext","path":"docs/ios/ios-ext","contentType":"directory"},{"name":"location","path":"docs/ios/location","contentType":"directory"},{"name":"marketing-cloud","path":"docs/ios/marketing-cloud","contentType":"directory"},{"name":"messaging-main","path":"docs/ios/messaging-main","contentType":"directory"},{"name":"phonegap","path":"docs/ios/phonegap","contentType":"directory"},{"name":"reference","path":"docs/ios/reference","contentType":"directory"},{"name":"target-main","path":"docs/ios/target-main","contentType":"directory"},{"name":"apple-watch-implementation-watchkit.md","path":"docs/ios/apple-watch-implementation-watchkit.md","contentType":"file"},{"name":"metrics.md","path":"docs/ios/metrics.md","contentType":"file"},{"name":"overview.md","path":"docs/ios/overview.md","contentType":"file"},{"name":"rel-notes.md","path":"docs/ios/rel-notes.md","contentType":"file"}],"totalCount":18},"docs":{"items":[{"name":"android","path":"docs/android","contentType":"directory"},{"name":"blackberry","path":"docs/blackberry","contentType":"directory"},{"name":"ios","path":"docs/ios","contentType":"directory"},{"name":"unity","path":"docs/unity","contentType":"directory"},{"name":"universal-windows","path":"docs/universal-windows","contentType":"directory"},{"name":"windows-appstore","path":"docs/windows-appstore","contentType":"directory"},{"name":"xamarin","path":"docs/xamarin","contentType":"directory"}],"totalCount":7},"":{"items":[{"name":"docs","path":"docs","contentType":"directory"},{"name":"samples","path":"samples","contentType":"directory"},{"name":"sdks","path":"sdks","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".npmignore","path":".npmignore","contentType":"file"},{"name":"LICENSE.md","path":"LICENSE.md","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"},{"name":"plugin.xml","path":"plugin.xml","contentType":"file"}],"totalCount":9}},"fileTreeProcessingTime":11.325631,"foldersToFetch":[],"repo":{"id":16493963,"defaultBranch":"master","name":"mobile-services","ownerLogin":"Adobe-Marketing-Cloud","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-02-03T21:43:40.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1440554?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1618423338.265981","canEdit":false,"refType":"branch","currentOid":"bf5c2668ebc79218b2ddf4694ff9952fa52be892"},"path":"docs/ios/phonegap/phonegap-methods.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/Adobe-Marketing-Cloud/mobile-services/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"phonegap-methods.md","displayUrl":"https://github.com/Adobe-Marketing-Cloud/mobile-services/blob/master/docs/ios/phonegap/phonegap-methods.md?raw=true","headerInfo":{"blobSize":"21.4 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"c2949c1","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FAdobe-Marketing-Cloud%2Fmobile-services%2Fblob%2Fmaster%2Fdocs%2Fios%2Fphonegap%2Fphonegap-methods.md%3Flang%3Den","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"PhoneGap plug-in methods","anchor":"phonegap-plug-in-methods","htmlText":"PhoneGap plug-in methods"},{"level":2,"text":"Configuration methods","anchor":"configuration-methods","htmlText":"Configuration methods"},{"level":2,"text":"PII methods","anchor":"pii-methods","htmlText":"PII methods"},{"level":2,"text":"Tracking methods","anchor":"tracking-methods","htmlText":"Tracking methods"},{"level":2,"text":"Target methods","anchor":"target-methods","htmlText":"Target methods"},{"level":2,"text":"Acquisition methods","anchor":"acquisition-methods","htmlText":"Acquisition methods"},{"level":2,"text":"Advertising identifier","anchor":"advertising-identifier","htmlText":"Advertising identifier"},{"level":2,"text":"Audience Manager methods","anchor":"audience-manager-methods","htmlText":"Audience Manager methods"},{"level":2,"text":"ID Service methods","anchor":"id-service-methods","htmlText":"ID Service methods"}],"lineInfo":{"truncatedLoc":"785","truncatedSloc":"491"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/Adobe-Marketing-Cloud/mobile-services/blob/master/docs/ios/phonegap/phonegap-methods.md?lang=en","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/Adobe-Marketing-Cloud/mobile-services/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/Adobe-Marketing-Cloud/mobile-services/raw/master/docs/ios/phonegap/phonegap-methods.md","renderImageOrRaw":false,"richText":"

PhoneGap plug-in methods

\n

You can use iOS PhoneGap Plug-in methods to complete a variety of tasks.

\n

In html files where you want to use tracking, add the following to the <head> tag:

\n
<script type=\"text/javascript\" charset=\"utf-8\" src=\"ADB_Helper.js\"></script>
\n

Configuration methods

\n\n

PII methods

\n\n

Tracking methods

\n\n

Target methods

\n\n

Acquisition methods

\n\n

Advertising identifier

\n

In the AppDelegate generated by Cordova, call [ADBMobile setAdvertisingIdentifier:] in the application:didFinishLaunchingWithOptions: delegate method. For more information, see Configuration Methods.

\n

Audience Manager methods

\n\n

ID Service methods

\n\n
","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"PhoneGap plug-in methods","kind":"section_1","ident_start":2,"ident_end":26,"extent_start":0,"extent_end":21924,"fully_qualified_name":"PhoneGap plug-in methods","ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":26}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":785,"utf16_col":0}}},{"name":"Configuration methods","kind":"section_2","ident_start":283,"ident_end":304,"extent_start":280,"extent_end":6308,"fully_qualified_name":"Configuration methods","ident_utf16":{"start":{"line_number":10,"utf16_col":3},"end":{"line_number":10,"utf16_col":24}},"extent_utf16":{"start":{"line_number":10,"utf16_col":0},"end":{"line_number":187,"utf16_col":0}}},{"name":"PII methods","kind":"section_2","ident_start":6311,"ident_end":6322,"extent_start":6308,"extent_end":6692,"fully_qualified_name":"PII methods","ident_utf16":{"start":{"line_number":187,"utf16_col":3},"end":{"line_number":187,"utf16_col":14}},"extent_utf16":{"start":{"line_number":187,"utf16_col":0},"end":{"line_number":205,"utf16_col":0}}},{"name":"Tracking methods","kind":"section_2","ident_start":6695,"ident_end":6711,"extent_start":6692,"extent_end":12218,"fully_qualified_name":"Tracking methods","ident_utf16":{"start":{"line_number":205,"utf16_col":3},"end":{"line_number":205,"utf16_col":19}},"extent_utf16":{"start":{"line_number":205,"utf16_col":0},"end":{"line_number":406,"utf16_col":0}}},{"name":"Target methods","kind":"section_2","ident_start":12221,"ident_end":12235,"extent_start":12218,"extent_end":16385,"fully_qualified_name":"Target methods","ident_utf16":{"start":{"line_number":406,"utf16_col":3},"end":{"line_number":406,"utf16_col":17}},"extent_utf16":{"start":{"line_number":406,"utf16_col":0},"end":{"line_number":561,"utf16_col":0}}},{"name":"Acquisition methods","kind":"section_2","ident_start":16388,"ident_end":16407,"extent_start":16385,"extent_end":16996,"fully_qualified_name":"Acquisition methods","ident_utf16":{"start":{"line_number":561,"utf16_col":3},"end":{"line_number":561,"utf16_col":22}},"extent_utf16":{"start":{"line_number":561,"utf16_col":0},"end":{"line_number":580,"utf16_col":0}}},{"name":"Advertising identifier","kind":"section_2","ident_start":16999,"ident_end":17021,"extent_start":16996,"extent_end":17272,"fully_qualified_name":"Advertising identifier","ident_utf16":{"start":{"line_number":580,"utf16_col":3},"end":{"line_number":580,"utf16_col":25}},"extent_utf16":{"start":{"line_number":580,"utf16_col":0},"end":{"line_number":584,"utf16_col":0}}},{"name":"Audience Manager methods","kind":"section_2","ident_start":17275,"ident_end":17299,"extent_start":17272,"extent_end":19319,"fully_qualified_name":"Audience Manager methods","ident_utf16":{"start":{"line_number":584,"utf16_col":3},"end":{"line_number":584,"utf16_col":27}},"extent_utf16":{"start":{"line_number":584,"utf16_col":0},"end":{"line_number":684,"utf16_col":0}}},{"name":"ID Service methods","kind":"section_2","ident_start":19322,"ident_end":19340,"extent_start":19319,"extent_end":21924,"fully_qualified_name":"ID Service methods","ident_utf16":{"start":{"line_number":684,"utf16_col":3},"end":{"line_number":684,"utf16_col":21}},"extent_utf16":{"start":{"line_number":684,"utf16_col":0},"end":{"line_number":785,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/Adobe-Marketing-Cloud/mobile-services/branches":{"post":"EgtEvtX7LCZRrFlXehY2tf41lokaApgfX1OduLSPkP8FQ7i1qrUFYyDQVTCq2NfG1kbY9hnzfDSpuw92sKTO-Q"},"/repos/preferences":{"post":"UKOXbt_CbPHwE8cDzjpArypEl3Jyg7y03DHvZ9tHWLaRufnY-pd_4hZbd4M01QTUciYWORLpQ5QQYBDMDCZKyQ"}}},"title":"mobile-services/docs/ios/phonegap/phonegap-methods.md at master · Adobe-Marketing-Cloud/mobile-services"}