Skip to content

Commit

Permalink
Merge pull request #856 from dfinity/jessiemongeon1-patch-1
Browse files Browse the repository at this point in the history
Update docs format for native dapps
  • Loading branch information
jessiemongeon1 authored May 2, 2024
2 parents ae5fb5d + 0b3a512 commit e37ce96
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
12 changes: 7 additions & 5 deletions native-apps/unity_ii_applink/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Internet Identity Integration
# Unity + Internet Identity app links

## Overview
This sample shows one way to integrate Internet Identity with Android apps. It contains two parts: a dapp with II integrated, and an Unity Project which interacts with this dapp.

## ii_integration_dapp
It's an example that integrates with Internet Identity, with the backend and frontend. It derives from the [Internet Identity integration sample](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration) demo with some modifications.
[View this example on GitHub](https://github.com/dfinity/examples/tree/master/native-apps/unity_ii_applink).

`ii_integration_dapp` is an example that integrates with Internet Identity, with the backend and frontend. It derives from the [Internet Identity integration sample](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration) demo with some modifications.
Please refer to [README](./ii_integration_dapp/README.md) for details.

## unity_project
This is a Unity project with [ICP.NET](https://github.com/BoomDAO/ICP.NET) embedded, which is a C# agent that is able to communicate with the IC from C#. Please refer to [README](./unity_project/README.md) for details.
`unity_project` is a Unity project with [ICP.NET](https://github.com/BoomDAO/ICP.NET) embedded, which is a C# agent that is able to communicate with the IC from C#. Please refer to [README](./unity_project/README.md) for details.

## Workflow
Before continuing, please read through the [Android App Links](https://developer.android.com/studio/write/app-link-indexing) to understand how Android App Links works.
Expand Down
14 changes: 8 additions & 6 deletions native-apps/unity_ii_deeplink/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Internet Identity Integration
# Unity + Internet Identity deep links

## Overview
This sample shows one way to integrate Internet Identity with native mobile apps. It contains two parts: a dapp with II integrated, and an Unity Project which interacts with this dapp.

## ii_integration_dapp
It's an example that integrates with Internet Identity, with the backend and frontend. It derives from the [Internet Identity integration sample](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration) demo with some modifications.
[View this project on GitHub](https://github.com/dfinity/examples/tree/master/native-apps/unity_ii_deeplink)

`ii_integration_dapp` is an example that integrates with Internet Identity, with the backend and frontend. It derives from the [Internet Identity integration sample](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration) demo with some modifications.
Please refer to [README](./ii_integration_dapp/README.md) for details.

## unity_project
This is a Unity project with [ICP.NET](https://github.com/BoomDAO/ICP.NET) embedded, which is a C# agent that is able to communicate with the IC from C#. Please refer to [README](./unity_project/README.md) for details.
`unity_project` is a Unity project with [ICP.NET](https://github.com/BoomDAO/ICP.NET) embedded, which is a C# agent that is able to communicate with the IC from C#. Please refer to [README](./unity_project/README.md) for details.

## Workflow
Here is the basic workflow that how to integrate with Internet Identity from a Unity mobile game. The basic idea is to open the Web Browser from the game, login in with II in the browser, and pass the `DelegationChain` back to the game.
Expand All @@ -31,4 +33,4 @@ The steps in detail are described below:

## Attention

Please keep in mind that DeepLink is not safe as AppLinks on Android, please read [this document](https://developer.android.com/training/app-links#understand-different-types-links) for details. Overall, Android App Links offer better user experience, along with better security. Please refer to the [unity_ii_applink](../unity_ii_applink) sample for more information.
Please keep in mind that DeepLink is not safe as AppLinks on Android, please read [this document](https://developer.android.com/training/app-links#understand-different-types-links) for details. Overall, Android App Links offer better user experience, along with better security. Please refer to the [unity_ii_applink](../unity_ii_applink) sample for more information.
12 changes: 7 additions & 5 deletions native-apps/unity_ii_universallink/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Internet Identity Integration
# Unity + Internet Identity universal links

## Overview
This sample shows one way to integrate Internet Identity with iOS apps. It contains two parts: a dapp with II integrated, and an Unity Project which interacts with this dapp.

## ii_integration_dapp
It's an example that integrates with Internet Identity, with the backend and frontend. It derives from the [Internet Identity integration sample](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration) demo with some modifications.
[View this project on GitHub](https://github.com/dfinity/examples/tree/master/native-apps/unity_ii_universallink).

`ii_integration_dapp` is an example that integrates with Internet Identity, with the backend and frontend. It derives from the [Internet Identity integration sample](https://github.com/dfinity/examples/tree/master/motoko/internet_identity_integration) demo with some modifications.
Please refer to [README](./ii_integration_dapp/README.md) for details.

## unity_project
This is a Unity project with [ICP.NET](https://github.com/BoomDAO/ICP.NET) embedded, which is a C# agent that is able to communicate with the IC from C#. Please refer to [README](./unity_project/README.md) for details.
`unity_project` is a Unity project with [ICP.NET](https://github.com/BoomDAO/ICP.NET) embedded, which is a C# agent that is able to communicate with the IC from C#. Please refer to [README](./unity_project/README.md) for details.

## Workflow
Before continuing, please read through the [iOS Universal Links](https://developer.apple.com/ios/universal-links/) to understand how iOS Universal Links works.
Expand Down

0 comments on commit e37ce96

Please sign in to comment.