-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add SDK library links for v1 * Update data usage policy loc and crosslinks * Redirects for moved page * Update to data info pages and directory listings * Update uninstall app listings and directory * Improve meta description * Update meta description for uninstalling an app * Added canonicalUrl to duplicate pages
- Loading branch information
1 parent
ede9b85
commit 18c75be
Showing
22 changed files
with
418 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/pages/[platform]/build-a-backend/auth/data-usage-policy/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
|
||
export const meta = { | ||
title: 'Data usage policy information', | ||
description: "Review the data types gathered by the Amplify library that Apple requires you to disclose in your app's data usage policy when submitting the app to the App Store.", | ||
platforms: ['swift'] | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
import ios0 from '/src/fragments/lib/info/native_common/data-information/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios0 }} /> | ||
|
||
import ios1 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios1 }} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...ages/[platform]/build-a-backend/more-features/analytics/app-uninstall/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
|
||
export const meta = { | ||
title: 'Uninstalling the app', | ||
description: | ||
'Understand how to handle persistent data on a device when a user uninstalls the app.', | ||
platforms: ['swift', 'android'], | ||
canonicalUrl: '/[platform]/build-a-backend/auth/app-uninstall' | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
import android0 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ android: android0 }} /> | ||
|
||
import ios0 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios0 }} /> |
29 changes: 29 additions & 0 deletions
29
.../[platform]/build-a-backend/more-features/analytics/data-usage-policy/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
|
||
export const meta = { | ||
title: 'Data usage policy information', | ||
description: "Review the data types gathered by the Amplify library that Apple requires you to disclose in your app's data usage policy when submitting the app to the App Store.", | ||
platforms: ['swift'], | ||
canonicalUrl: '/[platform]/build-a-backend/auth/data-usage-policy' | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
import ios0 from '/src/fragments/lib/info/native_common/data-information/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios0 }} /> | ||
|
||
import ios1 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios1 }} /> |
30 changes: 30 additions & 0 deletions
30
...ages/[platform]/build-a-backend/more-features/datastore/app-uninstall/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
|
||
export const meta = { | ||
title: 'Uninstalling the app', | ||
description: | ||
'Understand how to handle persistent data on a device when a user uninstalls the app.', | ||
platforms: ['swift', 'android'], | ||
canonicalUrl: '/[platform]/build-a-backend/auth/app-uninstall' | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
import android0 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ android: android0 }} /> | ||
|
||
import ios0 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios0 }} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...platform]/build-a-backend/more-features/predictions/data-usage-policy/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
|
||
export const meta = { | ||
title: 'Data usage policy information', | ||
description: "Review the data types gathered by the Amplify library that Apple requires you to disclose in your app's data usage policy when submitting the app to the App Store.", | ||
platforms: ['swift'], | ||
canonicalUrl: '/[platform]/build-a-backend/auth/data-usage-policy' | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
import ios0 from '/src/fragments/lib/info/native_common/data-information/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios0 }} /> | ||
|
||
import ios1 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios1 }} /> |
29 changes: 29 additions & 0 deletions
29
src/pages/[platform]/build-a-backend/storage/data-usage-policy/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; | ||
|
||
export const meta = { | ||
title: 'Data usage policy information', | ||
description: "Review the data types gathered by the Amplify library that Apple requires you to disclose in your app's data usage policy when submitting the app to the App Store.", | ||
platforms: ['swift'], | ||
canonicalUrl: '/[platform]/build-a-backend/auth/data-usage-policy' | ||
}; | ||
|
||
export const getStaticPaths = async () => { | ||
return getCustomStaticPath(meta.platforms); | ||
}; | ||
|
||
export function getStaticProps(context) { | ||
return { | ||
props: { | ||
platform: context.params.platform, | ||
meta | ||
} | ||
}; | ||
} | ||
|
||
import ios0 from '/src/fragments/lib/info/native_common/data-information/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios0 }} /> | ||
|
||
import ios1 from '/src/fragments/lib/info/native_common/app-uninstall/common.mdx'; | ||
|
||
<Fragments fragments={{ swift: ios1 }} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.