From f88bb3889ea7e98c0abd79895ec1b3681206eb5a Mon Sep 17 00:00:00 2001 From: Rakeally <40327144+Rakeally@users.noreply.github.com> Date: Tue, 13 Jun 2023 11:37:05 +0100 Subject: [PATCH 01/11] integrated cardano on android and ios --- .../africa/ejara/trustdart/WalletHandler.kt | 2 + .../africa/ejara/trustdart/coins/ADA.kt | 52 +++++++++++++++++++ example/lib/coins.dart | 1 + example/lib/operations.dart | 20 ++++++- ios/Classes/WalletHandler.swift | 5 ++ ios/Classes/coins/ADA.swift | 38 ++++++++++++++ 6 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 android/src/main/kotlin/africa/ejara/trustdart/coins/ADA.kt create mode 100644 ios/Classes/coins/ADA.swift diff --git a/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt b/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt index 490938a..e8d7c97 100644 --- a/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt +++ b/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt @@ -10,6 +10,7 @@ import XLM import BNB import BSC import DOGE +import ADA import africa.ejara.trustdart.utils.WalletError import africa.ejara.trustdart.utils.WalletValidateResponse @@ -29,6 +30,7 @@ class WalletHandler { "BNB" to BNB(), "BSC" to BSC(), "DOGE" to DOGE(), + "ADA" to ADA(), ) } diff --git a/android/src/main/kotlin/africa/ejara/trustdart/coins/ADA.kt b/android/src/main/kotlin/africa/ejara/trustdart/coins/ADA.kt new file mode 100644 index 0000000..178d3d0 --- /dev/null +++ b/android/src/main/kotlin/africa/ejara/trustdart/coins/ADA.kt @@ -0,0 +1,52 @@ +import africa.ejara.trustdart.Coin +import africa.ejara.trustdart.Numeric +import africa.ejara.trustdart.utils.toLong +import com.google.protobuf.ByteString +import io.flutter.Log +import wallet.core.jni.CoinType +import wallet.core.jni.HDWallet +import wallet.core.jni.proto.Cardano +import wallet.core.java.AnySigner + + + +class ADA : Coin("ADA", CoinType.CARDANO){ + + override fun signTransaction( + path: String, + txData: Map, + mnemonic: String, + passphrase: String + ): String? { + val wallet = HDWallet(mnemonic, passphrase) + val privateKey = wallet.getKey(coinType, path) + val listOfAllUtxos = mutableListOf(); + val utxos: List> = txData["utxos"] as List> + val message = Cardano.Transfer.newBuilder() + .setToAddress(txData["receiverAddress"] as String) + .setChangeAddress(txData["senderAddress" ] as String) + .setAmount(txData["amount"]!!.toLong()) + .build() + val input = Cardano.SigningInput.newBuilder() + .setTransferMessage(message) + .setTtl(53333333) + + input.addPrivateKey(ByteString.copyFrom(privateKey.data())) + for (utx in utxos) { + val outpoint1 = Cardano.OutPoint.newBuilder() + .setTxHash(ByteString.copyFrom(Numeric.hexStringToByteArray(utx["txid"] as String))) + .setOutputIndex(utx["index"]!!.toLong()) + .build() + val utxo1 = Cardano.TxInput.newBuilder() + .setOutPoint(outpoint1) + .setAddress(utx["senderAddress"] as String) + .setAmount(utx["amount"]!!.toLong()) + .build() + listOfAllUtxos.add(utxo1) + } + input.addAllUtxos(listOfAllUtxos) + + val output = AnySigner.sign(input.build(), coinType, Cardano.SigningOutput.parser()) + return Numeric.toHexString(output.encoded.toByteArray()) + } +} \ No newline at end of file diff --git a/example/lib/coins.dart b/example/lib/coins.dart index 98dfcd0..ecc8aa2 100644 --- a/example/lib/coins.dart +++ b/example/lib/coins.dart @@ -18,4 +18,5 @@ List coinList = [ Coin(code: 'BNB', path: "m/44'/714'/0'/0/0"), Coin(code: 'BSC', path: "m/44'/60'/0'/0/0"), Coin(code: 'DOGE', path: "m/44'/3'/0'/0/0"), + Coin(code: 'ADA', path: "m/1852'/1815'/0'/0/0"), ]; diff --git a/example/lib/operations.dart b/example/lib/operations.dart index b27fd15..0f6eb69 100644 --- a/example/lib/operations.dart +++ b/example/lib/operations.dart @@ -216,6 +216,23 @@ Map operations = { "fees": 5000, "changeAddress": "D9pvhnWknRza2HTXhY5WT29D4kvYzTZQAF", }, + 'ADA': { + "senderAddress": + "addr1q9evp7aqelh4epkacgyeqweqgkvqsl8gdp54mxew5kdvuyhqhuqa6ngy0jrdcnknurcvjgtv4jd84pd7xllgmdz0wtrqgfz5l4", + "receiverAddress": + "addr1qyk022rpw85g7c0f0wuq6zpkakgjwsftmpd99wqjj4xcsjc74pfgs7t76yuehca7hn4pcl37lsl06ccey0epe5sp4lwslxsyrw", + "amount": 40000, + "utxos": [ + { + "senderAddress": + "addr1q9evp7aqelh4epkacgyeqweqgkvqsl8gdp54mxew5kdvuyhqhuqa6ngy0jrdcnknurcvjgtv4jd84pd7xllgmdz0wtrqgfz5l4", + "txid": + "76608917328b3768b3985d057e613c7e8f14cb1f27b132a750a363ee64363a57", + "index": 0, + "amount": 16900000, + }, + ], + } }; // ignore: inference_failure_on_function_return_type @@ -227,7 +244,8 @@ runOperations() async { print('Here is our mnemonic: \n$mnemonic'); String dondo = - "imitate embody law mammal exotic transfer roof hope price swift ordinary uncle"; + "able student evoke travel find shift gasp beauty venture dove valid lounge"; + // "imitate embody law mammal exotic transfer roof hope price swift ordinary uncle"; // dondo = "a d f d s e w q t y u l"; bool wallet = await Trustdart.checkMnemonic(dondo); print(wallet); diff --git a/ios/Classes/WalletHandler.swift b/ios/Classes/WalletHandler.swift index 802fb1d..596949a 100644 --- a/ios/Classes/WalletHandler.swift +++ b/ios/Classes/WalletHandler.swift @@ -20,6 +20,7 @@ class WalletHandler { "BNB" : BNB(), "BSC" : BSC(), "DOGE" : DOGE(), + "ADA" : ADA() ] func getCoin(_ coin: String) -> Coin { @@ -46,3 +47,7 @@ class WalletHandler { } + + + + diff --git a/ios/Classes/coins/ADA.swift b/ios/Classes/coins/ADA.swift new file mode 100644 index 0000000..524678d --- /dev/null +++ b/ios/Classes/coins/ADA.swift @@ -0,0 +1,38 @@ +/* + ADA + */ + +import WalletCore + +class ADA: Coin { + init() { + super.init(name: "ADA", coinType: .cardano) + } + + override func signTransaction(path: String, txData: [String : Any], mnemonic: String, passphrase: String) -> String? { + let privateKey = HDWallet(mnemonic: mnemonic, passphrase: passphrase)?.getKey(coin: coinType, derivationPath: path) + let utxos: [[String: Any]] = txData["utxos"] as! [[String: Any]] + var listOfUtxos: [CardanoTxInput] = [] + + for utx in utxos { + listOfUtxos.append(CardanoTxInput.with { + $0.outPoint.txHash = Data(hexString: (utx["txid"] as! String))! + $0.outPoint.outputIndex = utx["index"] as! UInt64 + $0.address = utx["senderAddress"] as! String + $0.amount = utx["amount"] as! UInt64 + }) + } + + var input = CardanoSigningInput.with { + $0.transferMessage.toAddress = txData["receiverAddress"] as! String + $0.transferMessage.changeAddress = txData["senderAddress"] as! String + $0.transferMessage.amount = txData["amount"] as! UInt64 + $0.ttl = 53333333 + $0.privateKey = [privateKey!.data] + $0.utxos = listOfUtxos + } + + let output: CardanoSigningOutput = AnySigner.sign(input: input, coin: .cardano) + return output.encoded.hexString + } +} From 31b007cadbfc6dc95e2a58d4830a7bb9c57ad42b Mon Sep 17 00:00:00 2001 From: Rakeally <40327144+Rakeally@users.noreply.github.com> Date: Tue, 13 Jun 2023 19:47:15 +0100 Subject: [PATCH 02/11] Integrated polygon on android and ios --- .../africa/ejara/trustdart/WalletHandler.kt | 1 + .../africa/ejara/trustdart/coins/MATIC.KT | 39 +++++++++++++++++++ example/lib/operations.dart | 9 +++++ ios/Classes/WalletHandler.swift | 1 + ios/Classes/coins/MATIC.swift | 28 +++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT create mode 100644 ios/Classes/coins/MATIC.swift diff --git a/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt b/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt index 490938a..34cb3f2 100644 --- a/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt +++ b/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt @@ -29,6 +29,7 @@ class WalletHandler { "BNB" to BNB(), "BSC" to BSC(), "DOGE" to DOGE(), + "MATIC" to MATIC(), ) } diff --git a/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT b/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT new file mode 100644 index 0000000..de57004 --- /dev/null +++ b/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT @@ -0,0 +1,39 @@ +import africa.ejara.trustdart.Coin +import com.google.protobuf.ByteString +import wallet.core.java.AnySigner +import africa.ejara.trustdart.Numeric +import africa.ejara.trustdart.utils.toHexByteArray +import wallet.core.jni.CoinType +import wallet.core.jni.HDWallet +import wallet.core.jni.proto.Ethereum.SigningOutput +import wallet.core.jni.proto.Ethereum + +class MATIC : Coin("MATIC", CoinType.POLYGON) { + + override fun signTransaction( + path: String, + txData: Map, + mnemonic: String, + passphrase: String + ): String? { + val signingInput = Ethereum.SigningInput.newBuilder() + val wallet = HDWallet(mnemonic, passphrase) + signingInput.apply { + privateKey = ByteString.copyFrom(wallet.getKey(coinType, path).data()) + toAddress = txData["toAddress"] as String + chainId = ByteString.copyFrom((txData["chainId"] as String).toHexByteArray()) + nonce = ByteString.copyFrom((txData["nonce"] as String).toHexByteArray()) + gasPrice = ByteString.copyFrom((txData["gasPrice"] as String).toHexByteArray()) + gasLimit = ByteString.copyFrom((txData["gasLimit"] as String).toHexByteArray()) + transaction = Ethereum.Transaction.newBuilder().apply { + transfer = Ethereum.Transaction.Transfer.newBuilder().apply { + amount = ByteString.copyFrom((txData["amount"] as String).toHexByteArray()) + }.build() + }.build() + } + + val sign = AnySigner.sign(signingInput.build(), coinType, SigningOutput.parser()) + return Numeric.toHexString(sign.encoded.toByteArray()) + } + +} \ No newline at end of file diff --git a/example/lib/operations.dart b/example/lib/operations.dart index b27fd15..01ab325 100644 --- a/example/lib/operations.dart +++ b/example/lib/operations.dart @@ -216,6 +216,15 @@ Map operations = { "fees": 5000, "changeAddress": "D9pvhnWknRza2HTXhY5WT29D4kvYzTZQAF", }, + + 'MATIC': { + "chainID": "0x01", + "nonce": "0x00", + "gasPrice": "0x07FF684650", + "gasLimit": "0x5208", + "toAddress": "0xC894F1dCE55358ef44D760d8B1fb3397F5b1c24b", + "amount": "0x0DE0B6B3A7640000", + }, }; // ignore: inference_failure_on_function_return_type diff --git a/ios/Classes/WalletHandler.swift b/ios/Classes/WalletHandler.swift index 802fb1d..34af6c6 100644 --- a/ios/Classes/WalletHandler.swift +++ b/ios/Classes/WalletHandler.swift @@ -20,6 +20,7 @@ class WalletHandler { "BNB" : BNB(), "BSC" : BSC(), "DOGE" : DOGE(), + "MATIC" : MATIC(), ] func getCoin(_ coin: String) -> Coin { diff --git a/ios/Classes/coins/MATIC.swift b/ios/Classes/coins/MATIC.swift new file mode 100644 index 0000000..88e9c90 --- /dev/null +++ b/ios/Classes/coins/MATIC.swift @@ -0,0 +1,28 @@ +import WalletCore + +class MATIC: Coin { + init() { + super.init(name: "MATIC", coinType: .polygon) + } + + override func signTransaction(path: String, txData: [String : Any], mnemonic: String, passphrase: String) -> String? { + let privateKey = HDWallet(mnemonic: mnemonic, passphrase: passphrase)?.getKey(coin: self.coinType, derivationPath: path) + + let input = EthereumSigningInput.with { + $0.chainID = Data(hexString: txData["chainID"] as! String)! + $0.nonce = Data(hexString: (txData["nonce"] as! String))! + $0.gasPrice = Data(hexString: (txData["gasPrice"] as! String))! + $0.gasLimit = Data(hexString: (txData["gasLimit"] as! String))! + $0.toAddress = txData["toAddress"] as! String + $0.privateKey = privateKey!.data + $0.transaction = EthereumTransaction.with { + $0.transfer = EthereumTransaction.Transfer.with { + $0.amount = Data(hexString: (txData["amount"] as! String))! + } + } + } + + let sign: EthereumSigningOutput = AnySigner.sign(input: input, coin: coinType) + return sign.encoded.hexString + } +} From 83a1f5857bb1af0f95a15d661326ba09bf5b7028 Mon Sep 17 00:00:00 2001 From: Rakeally <40327144+Rakeally@users.noreply.github.com> Date: Wed, 14 Jun 2023 15:47:29 +0100 Subject: [PATCH 03/11] resolve reviews --- .../src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt | 1 + example/lib/coins.dart | 1 + example/lib/operations.dart | 6 +++--- ios/Classes/coins/MATIC.swift | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt b/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt index 34cb3f2..519dc9e 100644 --- a/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt +++ b/android/src/main/kotlin/africa/ejara/trustdart/WalletHandler.kt @@ -10,6 +10,7 @@ import XLM import BNB import BSC import DOGE +import MATIC import africa.ejara.trustdart.utils.WalletError import africa.ejara.trustdart.utils.WalletValidateResponse diff --git a/example/lib/coins.dart b/example/lib/coins.dart index 98dfcd0..85aec56 100644 --- a/example/lib/coins.dart +++ b/example/lib/coins.dart @@ -18,4 +18,5 @@ List coinList = [ Coin(code: 'BNB', path: "m/44'/714'/0'/0/0"), Coin(code: 'BSC', path: "m/44'/60'/0'/0/0"), Coin(code: 'DOGE', path: "m/44'/3'/0'/0/0"), + Coin(code: 'MATIC', path: "m/44'/60'/0'/0/0"), ]; diff --git a/example/lib/operations.dart b/example/lib/operations.dart index 01ab325..e84f31e 100644 --- a/example/lib/operations.dart +++ b/example/lib/operations.dart @@ -218,12 +218,12 @@ Map operations = { }, 'MATIC': { - "chainID": "0x01", - "nonce": "0x00", + "chainId": "0x89", + "nonce": "0x01", "gasPrice": "0x07FF684650", "gasLimit": "0x5208", "toAddress": "0xC894F1dCE55358ef44D760d8B1fb3397F5b1c24b", - "amount": "0x0DE0B6B3A7640000", + "amount": "0x3B9ACA00", }, }; diff --git a/ios/Classes/coins/MATIC.swift b/ios/Classes/coins/MATIC.swift index 88e9c90..6dfa406 100644 --- a/ios/Classes/coins/MATIC.swift +++ b/ios/Classes/coins/MATIC.swift @@ -9,7 +9,7 @@ class MATIC: Coin { let privateKey = HDWallet(mnemonic: mnemonic, passphrase: passphrase)?.getKey(coin: self.coinType, derivationPath: path) let input = EthereumSigningInput.with { - $0.chainID = Data(hexString: txData["chainID"] as! String)! + $0.chainID = Data(hexString: txData["chainId"] as! String)! $0.nonce = Data(hexString: (txData["nonce"] as! String))! $0.gasPrice = Data(hexString: (txData["gasPrice"] as! String))! $0.gasLimit = Data(hexString: (txData["gasLimit"] as! String))! From ea7f6785c7ad09c489319b6feba976612b45fb76 Mon Sep 17 00:00:00 2001 From: Rakeally <40327144+Rakeally@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:09:32 +0100 Subject: [PATCH 04/11] resolve mnemonics issue --- android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT b/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT index de57004..c857cfd 100644 --- a/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT +++ b/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT @@ -16,8 +16,8 @@ class MATIC : Coin("MATIC", CoinType.POLYGON) { mnemonic: String, passphrase: String ): String? { - val signingInput = Ethereum.SigningInput.newBuilder() val wallet = HDWallet(mnemonic, passphrase) + val signingInput = Ethereum.SigningInput.newBuilder() signingInput.apply { privateKey = ByteString.copyFrom(wallet.getKey(coinType, path).data()) toAddress = txData["toAddress"] as String From b00d00f61b41cdbb18709656e26bff6ab0b7dca5 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 15 Jun 2023 16:27:10 +0000 Subject: [PATCH 05/11] Fix filename --- .../kotlin/africa/ejara/trustdart/coins/{MATIC.KT => _MATIC.kt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename android/src/main/kotlin/africa/ejara/trustdart/coins/{MATIC.KT => _MATIC.kt} (100%) diff --git a/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT b/android/src/main/kotlin/africa/ejara/trustdart/coins/_MATIC.kt similarity index 100% rename from android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.KT rename to android/src/main/kotlin/africa/ejara/trustdart/coins/_MATIC.kt From 32c545f2e2de387e383482e3064e4036a2a73d5e Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 15 Jun 2023 16:27:58 +0000 Subject: [PATCH 06/11] Fix filename --- .../kotlin/africa/ejara/trustdart/coins/{_MATIC.kt => MATIC.kt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename android/src/main/kotlin/africa/ejara/trustdart/coins/{_MATIC.kt => MATIC.kt} (100%) diff --git a/android/src/main/kotlin/africa/ejara/trustdart/coins/_MATIC.kt b/android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.kt similarity index 100% rename from android/src/main/kotlin/africa/ejara/trustdart/coins/_MATIC.kt rename to android/src/main/kotlin/africa/ejara/trustdart/coins/MATIC.kt From a168da27caa09f72beac25583c37d9bf848d5a85 Mon Sep 17 00:00:00 2001 From: Rakeally <40327144+Rakeally@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:34:46 +0100 Subject: [PATCH 07/11] resolve mnemonics issue --- example/lib/operations.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/lib/operations.dart b/example/lib/operations.dart index 0f6eb69..8c315f0 100644 --- a/example/lib/operations.dart +++ b/example/lib/operations.dart @@ -244,8 +244,7 @@ runOperations() async { print('Here is our mnemonic: \n$mnemonic'); String dondo = - "able student evoke travel find shift gasp beauty venture dove valid lounge"; - // "imitate embody law mammal exotic transfer roof hope price swift ordinary uncle"; + "imitate embody law mammal exotic transfer roof hope price swift ordinary uncle"; // dondo = "a d f d s e w q t y u l"; bool wallet = await Trustdart.checkMnemonic(dondo); print(wallet); From 30f64bac2a6f830e619a8ac904b1a110b7568fe2 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 15 Jun 2023 17:12:12 +0000 Subject: [PATCH 08/11] Fix merge conflict --- example/android/.settings/org.eclipse.buildship.core.prefs | 6 +++--- example/ios/Runner.xcodeproj/project.pbxproj | 4 +++- example/ios/Runner/Info.plist | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/example/android/.settings/org.eclipse.buildship.core.prefs b/example/android/.settings/org.eclipse.buildship.core.prefs index c329865..d3a80b0 100644 --- a/example/android/.settings/org.eclipse.buildship.core.prefs +++ b/example/android/.settings/org.eclipse.buildship.core.prefs @@ -1,11 +1,11 @@ -arguments= +arguments=--init-script /var/folders/77/hgch4x3s3fq1jwv4z0d_3c1c0000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/77/hgch4x3s3fq1jwv4z0d_3c1c0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle auto.sync=false build.scans.enabled=false -connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER) +connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.4.2)) connection.project.dir= eclipse.preferences.version=1 gradle.user.home= -java.home=/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home +java.home=/opt/homebrew/Cellar/openjdk/20.0.1/libexec/openjdk.jdk/Contents/Home jvm.arguments= offline.mode=false override.workspace.settings=true diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 8af23e2..a377d09 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -238,6 +238,7 @@ }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -252,6 +253,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index 8d8aeae..c70ad85 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -43,5 +43,7 @@ CADisableMinimumFrameDurationOnPhone + UIApplicationSupportsIndirectInputEvents + From 748db5afdef3917b9c33456160fe449cbdf5b273 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 15 Jun 2023 17:13:52 +0000 Subject: [PATCH 09/11] Cleanup --- android/.settings/org.eclipse.buildship.core.prefs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 android/.settings/org.eclipse.buildship.core.prefs diff --git a/android/.settings/org.eclipse.buildship.core.prefs b/android/.settings/org.eclipse.buildship.core.prefs deleted file mode 100644 index 2fded2c..0000000 --- a/android/.settings/org.eclipse.buildship.core.prefs +++ /dev/null @@ -1,13 +0,0 @@ -arguments= -auto.sync=false -build.scans.enabled=false -connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.0-rc-1)) -connection.project.dir= -eclipse.preferences.version=1 -gradle.user.home= -java.home=/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home -jvm.arguments= -offline.mode=false -override.workspace.settings=true -show.console.view=true -show.executions.view=true From f38fb6aa35fe2f66a02fa7d80add417bcdefc784 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 15 Jun 2023 17:14:50 +0000 Subject: [PATCH 10/11] Cleanup --- .../.settings/org.eclipse.buildship.core.prefs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 example/android/.settings/org.eclipse.buildship.core.prefs diff --git a/example/android/.settings/org.eclipse.buildship.core.prefs b/example/android/.settings/org.eclipse.buildship.core.prefs deleted file mode 100644 index d3a80b0..0000000 --- a/example/android/.settings/org.eclipse.buildship.core.prefs +++ /dev/null @@ -1,13 +0,0 @@ -arguments=--init-script /var/folders/77/hgch4x3s3fq1jwv4z0d_3c1c0000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/77/hgch4x3s3fq1jwv4z0d_3c1c0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle -auto.sync=false -build.scans.enabled=false -connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.4.2)) -connection.project.dir= -eclipse.preferences.version=1 -gradle.user.home= -java.home=/opt/homebrew/Cellar/openjdk/20.0.1/libexec/openjdk.jdk/Contents/Home -jvm.arguments= -offline.mode=false -override.workspace.settings=true -show.console.view=true -show.executions.view=true From e00a862af25d668a56929c401238c148af04a9a8 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 15 Jun 2023 17:15:37 +0000 Subject: [PATCH 11/11] Cleanup --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 29dfdd6..f92e31f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ build/ .idea/ pubspec.lock +org.eclipse.buildship.core.prefs