diff --git a/.github/workflows/ios-artifact-build.yml b/.github/workflows/ios-artifact-build.yml index 72fb9e75..162f4b3b 100644 --- a/.github/workflows/ios-artifact-build.yml +++ b/.github/workflows/ios-artifact-build.yml @@ -2,23 +2,28 @@ name: iOS Artifact Build on: workflow_dispatch: + inputs: + message: + description: 'Message for manually triggering' + required: false + default: 'Triggered for Updates' + type: string + push: + branches: + - release* + - master + - develop* jobs: build: runs-on: macos-latest permissions: contents: write # Grants permission to push code and manage releases - pull-requests: write # Grants permission to write pull requests steps: - name: Checkout Repository uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '16' - - name: Create Library Folder and Create Swift Library run: | cd ./artifacts/swift-artifact/ diff --git a/android/build.gradle b/android/build.gradle index 5a0d030b..c2ae19c8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -127,7 +127,7 @@ repositories { if (!found) { throw new GradleException( "${project.name}: unable to locate React Native android sources. " + - "Ensure you have you installed React Native as a dependency in your project and try again." + "Ensure you have you installed React Native as a dependency in your project and try again." ) } } diff --git a/artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library/Verifier/Verifier.swift b/artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library/Verifier/Verifier.swift new file mode 100644 index 00000000..cb67a1c5 --- /dev/null +++ b/artifacts/swift-artifact/ios-tuvali-library/Sources/ios-tuvali-library/Verifier/Verifier.swift @@ -0,0 +1,25 @@ +import Foundation + +@objc(Verifier) +class Verifier: NSObject { + + func getModuleName(completion: @escaping ([String]) -> Void) { + DispatchQueue.global(qos: .userInitiated).async { + completion(["iOS Verifier"]) + } + } + + + @objc + static func requiresMainQueueSetup() -> Bool { + return true + } + + @objc + func constantsToExport() -> [AnyHashable: Any] { + return [ + "name": "verifier", + "platform": "ios" + ] + } +} diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 65af0642..00000000 --- a/pom.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - 4.0.0 - io.mosip - tuvali - 1.0 - aar - - - com.facebook.react - react-native - + - - - org.jetbrains.kotlin - kotlin-stdlib - 1.7.0 - - - org.jetbrains.kotlinx - kotlinx-coroutines-core - 1.3.2 - - - org.bouncycastle - bcpkix-jdk15to18 - 1.68 - - - org.bouncycastle - bcprov-jdk15to18 - 1.68 - - - com.github.snksoft - crc - 1.1.0 - - - org.jetbrains.kotlin - kotlin-reflect - 1.7.0 - - - - - MIT - https://www.mit.edu/~amini/LICENSE.md - - - - - Your developer ID - Mosip - mosip.emailnotifier@gmail.com - io.mosip - https://github.com/mosip/tuvali - - - - - - pl.project13.maven - git-commit-id-plugin - 3.0.1 - - - get-the-git-infos - - revision - - validate - - - - true - ${project.build.outputDirectory}/git.properties - - ^git.build.(time|version)$ - ^git.commit.id.(abbrev|full)$ - - full - ${project.basedir}/.git - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - --pinentry-mode - loopback - - - - - - - -