Skip to content

Commit 5ebb242

Browse files
committed
Deprecate multiplatform-deeplinks demo and remove them from the README
1 parent 936d499 commit 5ebb242

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ __For versions below 3.0.0:__
132132

133133
- [Chat Demo](/sample/chat-demo-mpp) *(Desktop/Android/iOS/Browser)* - A simple chat application using the Auth, Postgrest and Realtime module.
134134
- [File Upload Demo](/sample/file-upload) *(Desktop/Android)* - A simple bulk file upload application using the Storage module.
135-
- [Android Native Google login & in-app OAuth](https://github.com/supabase-community/supabase-kt/tree/master/demos/android-login) *(Android)* - A simple Android application showcasing Native Google login and in-app OAuth.
136135
- [Multi-Factor Authentication](/sample/multi-factor-auth) *(Desktop/Android/Browser)* - A simple application showcasing Multi-Factor Authentication.
137-
- [Multiplatform Deep Linking](https://github.com/supabase-community/supabase-kt/tree/master/demos/multiplatform-deeplinks) *(Desktop/Android)* - A simple application showcasing deep linking on Desktop and Android.
138136

139137
**Community Samples**
140138

demos/android-login/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Deprecation note
2+
23
This sample has been deprecated. Checkout the [official video](https://www.youtube.com/watch?v=P_jZMDmodG4&pp=ygUWc3VwYWJhc2UgZ29vZ2xlIGtvdGxpbg%3D%3D) on how to use the Google Credential Manager to natively sign in with Google or checkout [Compose Auth](/plugins/ComposeAuth)
4+
35
# Android Login Demo
46

57
This is a demo of an android app using Google OneTap/Native Sign-In & WebView for authentication
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Deprecation note
2+
3+
This sample has been deprecated.
4+
15
# Multiplatform Deeplinking Demo
26

37
This is a demo of integrating deeplink authentication with Supabase on Desktop and Android.
@@ -8,28 +12,28 @@ This is a demo of integrating deeplink authentication with Supabase on Desktop a
812

913
## How it works (Desktop)
1014

11-
On Desktop it uses [Conveyor](https://conveyor.hydraulic.dev/9.2/) to create an installer which registers the url protocol on installation.
15+
On Desktop, it uses [Conveyor](https://conveyor.hydraulic.dev/9.2/) to create an installer which registers the url protocol on installation.
1216
To allow the app to have a single instance running, this demo uses [unique4j](https://github.com/prat-man/unique4j).
1317

1418
Unique4j uses a server to let different instance communicate with each other. If you are for example after you successfully log in with Google, you get redirected to the registered url protocol and a second instance opens. This second instance sends the data to the first instance and closes itself. (If there is another instance running)
1519

1620
# Configuration
1721

18-
You need to specify your supabase url and key in [supabaseModule.kt](https://github.com/supabase-community/supabase-kt/blob/master/demos/multiplatform-deeplinks/common/src/commonMain/kotlin/io/github/jan/supabase/common/di/supabaseModule.kt).
22+
You need to specify your Supabase url and key in [supabaseModule.kt](https://github.com/supabase-community/supabase-kt/blob/master/demos/multiplatform-deeplinks/common/src/commonMain/kotlin/io/github/jan/supabase/common/di/supabaseModule.kt).
1923

20-
If you want Google login to work, [set it up](https://supabase.com/docs/guides/auth/social-login) in the supabase dashboard and add `io.github.jan.supabase://login` to the registered urls.
24+
If you want Google login to work, [set it up](https://supabase.com/docs/guides/auth/social-login) in the Supabase dashboard and add `io.github.jan.supabase://login` to the registered urls.
2125

2226
### Building
2327

2428
On Android just build the APK with the IDE. Authentication should work without any additional setup.
2529

26-
On Desktop you have to install [Conveyor](https://conveyor.hydraulic.dev/9.2/) and run `conveyor make site` in `/desktop`.
30+
On Desktop, you have to install [Conveyor](https://conveyor.hydraulic.dev/9.2/) and run `conveyor make site` in `/desktop`.
2731

2832
Then you can serve the download site e.g. with npx: `npx serve desktop/output`
2933

3034
To test it, go to **localhost:3000/download** and download the installer. This will register the url protocol and install the app.
3135
After it installed, provider login and sign up should work without even having the application open.
3236

33-
**Note:** Desktop and Android use the same url protocol, so you users can open sign up emails on either platform.
37+
**Note:** Desktop and Android use the same url protocol, so your users can open sign up emails on either platform.
3438

3539

0 commit comments

Comments
 (0)