Skip to content

Releases: MetaMask/customauth-react-native-sdk

v0.5.1

01 Oct 07:20

Choose a tag to compare

Internal package updates

v0.5.0

02 Jun 11:23

Choose a tag to compare

  • Support allowedBrowsers
  login = async (params) => {
    try {
      const loginDetails = await TorusSdk.triggerLogin({
       ...params,
       allowedBrowsers: [
          // Android packages
          "com.android.chrome", // Chrome stable 
          "com.google.android.apps.chrome", // Chrome system
          "com.android.chrome.beta", // Chrome beta
       ]
      });
      this.setState({ consoleText: `publicAddress: ${loginDetails.publicAddress}` });
    } catch (error) {
      if(error.message.includes("NoAllowedBrowserFoundException")) {
         handleNoAllowedBrowser();
      } else {
        console.error(error, "login caught");
     }
    }
  };

v0.4.1

06 May 07:50

Choose a tag to compare

The following changes have been made in this release:

  • Only open CustomTabs for whitelisted browsers (Chrome-like), otherwise open externally.
  • Add an option (preferCustomTabs) that allows default to choose to prefer default browser or custom tabs in case the default browser is not supported in custom tabs.

v0.4.0

18 Mar 09:52

Choose a tag to compare

The following changes have been made in this release:

  • Add support for getAggregateTorusKey in android
  • Update android version to fix aggregate login issues

v0.3.0

23 Feb 12:34

Choose a tag to compare

v0.2.1

16 Feb 17:54

Choose a tag to compare

Update deps

v0.2.0

16 Feb 08:40

Choose a tag to compare

Add support for Android API Level 21.

Notice:
Use the new redirect.html from android sdk

v0.1.5

16 Jan 08:27

Choose a tag to compare

Updated deps

The following changes have been made in this release:

Use browserRedirectUri as a deep link (with fallback to self hosted script) and make it mandatory
No need to specify proxy contract address for testnet anymore
Update deps + documentation
Upgrade guide:

if your OAuth provider supports deep link
browserRedirectUri must be deep link url .
else
host the redirect.html (with the contents modified by pasting your redirect Uri) at browserRedirectUri and register that hosted url at the
OAuth provider interface as the redirect Uri. (The contents of redirect.html must point to the deep link of your app)

Please reach out to us on Telegram for further clarification

v0.1.4

22 Dec 01:41

Choose a tag to compare

iOS Specific config changes

v0.1.3

16 Dec 14:34

Choose a tag to compare

iOS specific fixes for network and browserRedirectUri