Skip to content

Commit

Permalink
Added «tezos» url scheme for DApp connection (#79)
Browse files Browse the repository at this point in the history
* TEZOS deeplink handled

* Increase app version
  • Loading branch information
mismirnov committed Jan 29, 2023
1 parent a0d6c5c commit a351d7b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions atomex.Android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ namespace atomex.Droid
DataPathPrefix = "",
DataHost = "",
AutoVerify = true)]
[IntentFilter(new[] { Intent.ActionView },
Categories = new[]
{
Intent.CategoryDefault,
Intent.CategoryBrowsable
},
DataScheme = "tezos",
DataPathPrefix = "",
DataHost = "",
AutoVerify = true)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
public static MainActivity Instance { get; private set; }
Expand Down
2 changes: 1 addition & 1 deletion atomex.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.22.14" package="com.atomex.android" android:versionCode="38">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.23.0" package="com.atomex.android" android:versionCode="39">
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="31" />
<application android:label="Atomex" android:allowBackup="false" android:icon="@drawable/ic_launcher">
<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_notification" />
Expand Down
1 change: 1 addition & 0 deletions atomex.Android/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions atomex.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<key>CFBundleIdentifier</key>
<string>com.atomex.ios</string>
<key>CFBundleVersion</key>
<string>1.22.14</string>
<string>1.23.0</string>
<key>UILaunchStoryboardName</key>
<string>AtomexLaunchScreen</string>
<key>CFBundleName</key>
Expand Down Expand Up @@ -52,6 +52,7 @@
<key>CFBundleURLSchemes</key>
<array>
<string>atomex</string>
<string>tezos</string>
</array>
<key>CFBundleTypeRole</key>
<string>None</string>
Expand Down Expand Up @@ -88,7 +89,7 @@
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>CFBundleShortVersionString</key>
<string>1.22</string>
<string>1.23</string>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
Expand Down

0 comments on commit a351d7b

Please sign in to comment.