diff --git a/app/src/androidTest/java/com/alphawallet/app/DappBrowserTest.java b/app/src/androidTest/java/com/alphawallet/app/DappBrowserTest.java index e1c16403ca..0c6a8c1ef0 100644 --- a/app/src/androidTest/java/com/alphawallet/app/DappBrowserTest.java +++ b/app/src/androidTest/java/com/alphawallet/app/DappBrowserTest.java @@ -20,8 +20,6 @@ import static com.alphawallet.app.util.Helper.waitUntilLoaded; import static junit.framework.TestCase.assertTrue; -import static org.hamcrest.core.IsNot.not; - import android.view.KeyEvent; import androidx.annotation.NonNull; @@ -36,7 +34,7 @@ public class DappBrowserTest extends BaseE2ETest { private static final String DEFAULT_HOME_PAGE = "https://tlink.store/tapp?chain=84532&contract=0xb02082b18f74ab3853b6a11e5f487be4322167db&tokenId=6"; - private static final String URL_DAPP = "https://superrare.com/explore/releases"; + private static final String URL_DAPP = "https://rarible.com/explore/all/collections"; @Override @Before diff --git a/app/src/main/assets/dapps_list.json b/app/src/main/assets/dapps_list.json index 6a4eb0a942..14e129c5bb 100644 --- a/app/src/main/assets/dapps_list.json +++ b/app/src/main/assets/dapps_list.json @@ -7,6 +7,7 @@ {"name": "Tbull", "description": "A Utility Token on Binance Smart Chain for Payments for Services", "url": "https://tbull.live", "category": "Utility"}, {"name": "Rare Coin", "description": "Free Crypto Faucet & Yield Farming", "url": "https://make.rare.claims", "category": "Tool"}, {"name": "DeFiBox", "description": "one-stop DeFi asset, data and protocols aggregation platform", "url": "https://www.defibox.com/index?utm_source=2189969", "category": "Tool"}, + {"name": "Rarible", "description": "Peer-to-peer marketplace for scarce digital goods", "url": "https://rarible.com/", "category": "Marketplace"}, {"name": "TokenSets", "description": "Enhance your portfolio with automated asset management strategies.", "url": "https://www.tokensets.com/", "category": "Finance"}, {"name": "State of the ÐApps", "description": "Directory of Decentralized Applications", "url": "https://www.stateofthedapps.com/", "category": "Directory"}, {"name": "BulkSender", "description": "Batch sending of tokens", "url": "https://bulksender.app/", "category": "Finance"}, @@ -22,8 +23,7 @@ {"name": "MLB Crypto Baseball", "description": "Baseball collectible game", "url": "https://mlbcryptobaseball.com", "category": "Game"}, {"name": "Name Bazaar", "description": "A peer-to-peer marketplace for the exchange of names registered via the ENS", "url": "https://namebazaar.io/", "category": "Marketplace"}, {"name": "OpenSea", "description": "Peer-to-peer marketplace for scarce digital goods", "url": "https://opensea.io", "category": "Marketplace"}, - {"name": "SuperRare", "description": "Collect art or submit your art as a creator", "url": "https://superrare.co/", "category": "Marketplace"}, - {"name": "Veil", "description": "A peer-to-peer trading platform for prediction markets and derivatives", "url": "https://app.veil.co/", "category": "Marketplace"}, + {"name": "Veil", "description": "A peer-to-peer trading platform for prediction markets and derivatives", "url": "https://app.veil.co/", "category": "Marketplace"}, {"name": "Gravity", "description": "Create your gravatar.", "url": "https://gravity.cool/", "category": "Property"}, {"name": "Mokens", "description": "Create your own collectibles", "url": "https://mokens.io/", "category": "Property"}, {"name": "TENZ-ID", "description": "TENZ-ID is a Decentralized Blockchain naming system", "url": "https://tenzorum.org/tenz_id/", "category": "Property"}, diff --git a/app/src/main/java/com/alphawallet/app/entity/FinishReceiver.java b/app/src/main/java/com/alphawallet/app/entity/FinishReceiver.java index 9736f4df5b..527e7724f7 100644 --- a/app/src/main/java/com/alphawallet/app/entity/FinishReceiver.java +++ b/app/src/main/java/com/alphawallet/app/entity/FinishReceiver.java @@ -26,6 +26,12 @@ public FinishReceiver(Activity ctx) register(ctx); } + public FinishReceiver() + { + activity = null; + broadcastManager = null; + } + private void register(Activity ctx) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) diff --git a/app/src/main/java/com/alphawallet/app/entity/HomeReceiver.java b/app/src/main/java/com/alphawallet/app/entity/HomeReceiver.java index 136172bb2c..505d1b8337 100644 --- a/app/src/main/java/com/alphawallet/app/entity/HomeReceiver.java +++ b/app/src/main/java/com/alphawallet/app/entity/HomeReceiver.java @@ -25,6 +25,12 @@ public HomeReceiver(Context context, HomeCommsInterface homeCommsInterface) this.homeCommsInterface = homeCommsInterface; } + public HomeReceiver() + { + homeCommsInterface = null; + broadcastManager = null; + } + @Override public void onReceive(Context context, Intent intent) {