diff --git a/.eslintrc.js b/.eslintrc.js
index f9e4969..1295856 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index a4f7bc5..6f67d9a 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
name: Setup
description: Setup Node.js and install dependencies
diff --git a/.github/settings.yml b/.github/settings.yml
index 997d22e..21038c7 100644
--- a/.github/settings.yml
+++ b/.github/settings.yml
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
repository:
private: false
has_issues: true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a8d21e9..e79f09d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
name: Continuous integration
on:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 30ee227..8c32f77 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
name: Create new release and publish NPM package
on:
diff --git a/.gitignore b/.gitignore
index 05723c3..b66eac9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,9 +2,6 @@
#
.DS_Store
-# XDE
-.expo/
-
# VSCode
.vscode/
jsconfig.json
diff --git a/.prettierrc.js b/.prettierrc.js
index 556bc2b..80b378a 100644
--- a/.prettierrc.js
+++ b/.prettierrc.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
module.exports = {
printWidth: 120,
semi: false,
diff --git a/.release-it.json b/.release-it.json
index 5f2d630..f330cd7 100644
--- a/.release-it.json
+++ b/.release-it.json
@@ -2,7 +2,6 @@
"git": {
"requireBranch": "main",
"commitMessage": "Release v${version}",
- "releaseName": "v${version}",
"tagName": "v${version}"
},
"hooks": {
@@ -12,6 +11,7 @@
"publish": true
},
"github": {
+ "releaseName": "v${version}",
"release": true
}
}
diff --git a/.yarnrc.yml b/.yarnrc.yml
index 13215d6..6439e20 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
nodeLinker: node-modules
nmHoistingLimits: workspaces
diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
index 580b95c..a9bf987 100644
--- a/android/src/main/AndroidManifest.xml
+++ b/android/src/main/AndroidManifest.xml
@@ -1,3 +1,9 @@
+
+
diff --git a/android/src/main/AndroidManifestNew.xml b/android/src/main/AndroidManifestNew.xml
index f9d3b67..c6edead 100644
--- a/android/src/main/AndroidManifestNew.xml
+++ b/android/src/main/AndroidManifestNew.xml
@@ -1,2 +1,8 @@
+
+
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/EudiWalletKitPackage.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/EudiWalletKitPackage.kt
index 045aec0..63dfb36 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/EudiWalletKitPackage.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/EudiWalletKitPackage.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative
import com.facebook.react.ReactPackage
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/ProxyEventsModule.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/ProxyEventsModule.kt
index 676b96b..26e8fdb 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/ProxyEventsModule.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/ProxyEventsModule.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative
import com.dsr.eudi.walletkit.reactnative.utils.JsonUtils
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/WalletModule.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/WalletModule.kt
index 9b919ec..32e2b90 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/WalletModule.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/WalletModule.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative
import androidx.activity.ComponentActivity
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt
index e8f71a6..578c269 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/BiometricUserAuthPrompt.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.biometry
import android.os.Handler
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/UserAuthenticationType.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/UserAuthenticationType.kt
index e9ae22a..40b564d 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/UserAuthenticationType.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/biometry/UserAuthenticationType.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.biometry
/**
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSClientIdScheme.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSClientIdScheme.kt
index a83ff19..2fbb081 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSClientIdScheme.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSClientIdScheme.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.wallet.transfer.openid4vp.ClientIdScheme
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDisclosedDocument.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDisclosedDocument.kt
index 0d39b26..b1b5852 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDisclosedDocument.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDisclosedDocument.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.iso18013.transfer.DisclosedDocument
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocument.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocument.kt
index bba340c..038aa5f 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocument.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocument.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import com.dsr.eudi.walletkit.reactnative.utils.JsonUtils
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentOffer.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentOffer.kt
index 49d9ba7..75cbf7d 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentOffer.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentOffer.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.wallet.issue.openid4vci.Offer
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentRequest.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentRequest.kt
index 6261a80..cb6bacf 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentRequest.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSDocumentRequest.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import android.util.Base64
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSEudiWalletConfig.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSEudiWalletConfig.kt
index c3a9c57..12eacf9 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSEudiWalletConfig.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSEudiWalletConfig.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.wallet.EudiWalletConfig
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSIssueDocumentResult.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSIssueDocumentResult.kt
index a63150f..9e9c097 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSIssueDocumentResult.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSIssueDocumentResult.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
data class JSIssueDocumentResult(
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VciConfig.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VciConfig.kt
index 3e51505..933adf8 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VciConfig.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VciConfig.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.wallet.issue.openid4vci.OpenId4VciManager
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VpConfig.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VpConfig.kt
index 3247c9c..a56d0d2 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VpConfig.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSOpenId4VpConfig.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import com.dsr.eudi.walletkit.reactnative.utils.parseEncryptionAlgorithm
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSRequestedDocument.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSRequestedDocument.kt
index 9749cb7..a9aa1c0 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSRequestedDocument.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSRequestedDocument.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.iso18013.transfer.RequestDocument
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSTransferEvent.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSTransferEvent.kt
index d0d1be0..8418969 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSTransferEvent.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/model/JSTransferEvent.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.model
import eu.europa.ec.eudi.iso18013.transfer.TransferEvent
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/CertUtils.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/CertUtils.kt
index 189f8ab..893fb90 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/CertUtils.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/CertUtils.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.utils
import android.util.Base64
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/JsonUtils.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/JsonUtils.kt
index 5c699bc..dbddde7 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/JsonUtils.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/JsonUtils.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.utils
import com.facebook.react.bridge.*
diff --git a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/ParsingUtils.kt b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/ParsingUtils.kt
index 97f60da..dc6ab1b 100644
--- a/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/ParsingUtils.kt
+++ b/android/src/main/java/com/dsr/eudi/walletkit/reactnative/utils/ParsingUtils.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.dsr.eudi.walletkit.reactnative.utils
import eu.europa.ec.eudi.wallet.transfer.openid4vp.EncryptionAlgorithm
diff --git a/babel.config.js b/babel.config.js
index 3e0218e..cdb1833 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
module.exports = {
presets: ['module:@react-native/babel-preset'],
}
diff --git a/eudi-wallet-kit-react-native.podspec b/eudi-wallet-kit-react-native.podspec
index 98b5825..c21a604 100644
--- a/eudi-wallet-kit-react-native.podspec
+++ b/eudi-wallet-kit-react-native.podspec
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
@@ -17,7 +21,7 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.spm_dependency "eudi-lib-ios-wallet-kit/EudiWalletKit"
- s.dependency "AnyCodable-FlightSchool"
+ s.dependency "AnyCodable-FlightSchool"
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
diff --git a/example/Gemfile b/example/Gemfile
index 3402091..b6728b3 100644
--- a/example/Gemfile
+++ b/example/Gemfile
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
diff --git a/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml
index eb98c01..bf5f2c9 100644
--- a/example/android/app/src/debug/AndroidManifest.xml
+++ b/example/android/app/src/debug/AndroidManifest.xml
@@ -1,4 +1,10 @@
+
+
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 2e54402..d3532bc 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -1,3 +1,9 @@
+
+
diff --git a/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainActivity.kt b/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainActivity.kt
index b3041ba..9e64a06 100644
--- a/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainActivity.kt
+++ b/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainActivity.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.eudiwalletkitreactnativeexample
import com.facebook.react.ReactActivity
diff --git a/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainApplication.kt b/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainApplication.kt
index 71df9a7..3f27e04 100644
--- a/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainApplication.kt
+++ b/example/android/app/src/main/java/com/eudiwalletkitreactnativeexample/MainApplication.kt
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
package com.eudiwalletkitreactnativeexample
import android.app.Application
diff --git a/example/android/app/src/main/res/values/strings.xml b/example/android/app/src/main/res/values/strings.xml
index 9a2ddb0..ffdcb53 100644
--- a/example/android/app/src/main/res/values/strings.xml
+++ b/example/android/app/src/main/res/values/strings.xml
@@ -1,3 +1,9 @@
+
+
EudiWalletKitReactNativeExample
diff --git a/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml
index 7ba83a2..84bf4bb 100644
--- a/example/android/app/src/main/res/values/styles.xml
+++ b/example/android/app/src/main/res/values/styles.xml
@@ -1,3 +1,9 @@
+
+
diff --git a/example/babel.config.js b/example/babel.config.js
index 4a46ea7..43f5065 100644
--- a/example/babel.config.js
+++ b/example/babel.config.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
const path = require('path')
const pak = require('../package.json')
diff --git a/example/index.js b/example/index.js
index d5b4794..3a4acc0 100644
--- a/example/index.js
+++ b/example/index.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { AppRegistry } from 'react-native'
import { name as appName } from './app.json'
diff --git a/example/ios/EudiWalletKitReactNativeExample-Bridging-Header.h b/example/ios/EudiWalletKitReactNativeExample-Bridging-Header.h
index e11d920..7bb2a10 100644
--- a/example/ios/EudiWalletKitReactNativeExample-Bridging-Header.h
+++ b/example/ios/EudiWalletKitReactNativeExample-Bridging-Header.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
diff --git a/example/ios/EudiWalletKitReactNativeExample/AppDelegate.h b/example/ios/EudiWalletKitReactNativeExample/AppDelegate.h
index 5d28082..f98494b 100644
--- a/example/ios/EudiWalletKitReactNativeExample/AppDelegate.h
+++ b/example/ios/EudiWalletKitReactNativeExample/AppDelegate.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
#import
#import
diff --git a/example/ios/EudiWalletKitReactNativeExample/AppDelegate.mm b/example/ios/EudiWalletKitReactNativeExample/AppDelegate.mm
index ca34658..a143240 100644
--- a/example/ios/EudiWalletKitReactNativeExample/AppDelegate.mm
+++ b/example/ios/EudiWalletKitReactNativeExample/AppDelegate.mm
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
#import "AppDelegate.h"
#import
diff --git a/example/ios/EudiWalletKitReactNativeExample/main.m b/example/ios/EudiWalletKitReactNativeExample/main.m
index d645c72..cb71eb4 100644
--- a/example/ios/EudiWalletKitReactNativeExample/main.m
+++ b/example/ios/EudiWalletKitReactNativeExample/main.m
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
#import
#import "AppDelegate.h"
diff --git a/example/ios/EudiWalletKitReactNativeExampleTests/EudiWalletKitReactNativeExampleTests.m b/example/ios/EudiWalletKitReactNativeExampleTests/EudiWalletKitReactNativeExampleTests.m
index b74332f..807c684 100644
--- a/example/ios/EudiWalletKitReactNativeExampleTests/EudiWalletKitReactNativeExampleTests.m
+++ b/example/ios/EudiWalletKitReactNativeExampleTests/EudiWalletKitReactNativeExampleTests.m
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
#import
#import
diff --git a/example/ios/File.swift b/example/ios/File.swift
index 469cd15..ca26afb 100644
--- a/example/ios/File.swift
+++ b/example/ios/File.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
//
// File.swift
// EudiWalletKitReactNativeExample
diff --git a/example/jest.config.js b/example/jest.config.js
index 1fbafc9..f0a4786 100644
--- a/example/jest.config.js
+++ b/example/jest.config.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
module.exports = {
preset: 'react-native',
}
diff --git a/example/metro.config.js b/example/metro.config.js
index 87aab4c..25dc432 100644
--- a/example/metro.config.js
+++ b/example/metro.config.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config')
const path = require('path')
const escape = require('escape-string-regexp')
diff --git a/example/react-native.config.js b/example/react-native.config.js
index 61fd1ae..1e8c3f2 100644
--- a/example/react-native.config.js
+++ b/example/react-native.config.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
const path = require('path')
const pak = require('../package.json')
diff --git a/example/src/App.tsx b/example/src/App.tsx
index bbd7866..ef7b0c9 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { NavigationContainer } from '@react-navigation/native'
import * as React from 'react'
import { StatusBar } from 'react-native'
diff --git a/example/src/BleHelpers.ts b/example/src/BleHelpers.ts
index 32627e2..374aabd 100644
--- a/example/src/BleHelpers.ts
+++ b/example/src/BleHelpers.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
// eslint-disable-next-line import/default
import BluetoothStateManager from 'react-native-bluetooth-state-manager'
import { getSystemName, getSystemVersion } from 'react-native-device-info'
diff --git a/example/src/components/buttons/IconButton.tsx b/example/src/components/buttons/IconButton.tsx
index 933efd2..641a077 100644
--- a/example/src/components/buttons/IconButton.tsx
+++ b/example/src/components/buttons/IconButton.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import React from 'react'
import { type Insets, StyleSheet, Text, type TextStyle, TouchableOpacity, type ViewStyle } from 'react-native'
import Icon from 'react-native-vector-icons/MaterialCommunityIcons'
diff --git a/example/src/components/buttons/index.ts b/example/src/components/buttons/index.ts
index a37a7fc..fa4e202 100644
--- a/example/src/components/buttons/index.ts
+++ b/example/src/components/buttons/index.ts
@@ -1 +1,7 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './IconButton'
diff --git a/example/src/components/misc/QRScannerCamera.tsx b/example/src/components/misc/QRScannerCamera.tsx
index 4ebacd7..715faeb 100644
--- a/example/src/components/misc/QRScannerCamera.tsx
+++ b/example/src/components/misc/QRScannerCamera.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { useIsFocused } from '@react-navigation/native'
import React, { useCallback, useEffect, useState } from 'react'
import { Vibration, useWindowDimensions, type ViewStyle } from 'react-native'
diff --git a/example/src/components/misc/index.ts b/example/src/components/misc/index.ts
index 6573cf2..f7c3954 100644
--- a/example/src/components/misc/index.ts
+++ b/example/src/components/misc/index.ts
@@ -1 +1,7 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './QRScannerCamera'
diff --git a/example/src/components/modals/AddDocumentModal.tsx b/example/src/components/modals/AddDocumentModal.tsx
index 81d246a..580bce3 100644
--- a/example/src/components/modals/AddDocumentModal.tsx
+++ b/example/src/components/modals/AddDocumentModal.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { EudiWallet } from '@openwallet-foundation/eudi-wallet-kit-react-native'
import React, { useCallback, useState } from 'react'
import { Button, Modal, StyleSheet, Text, View, SafeAreaView } from 'react-native'
diff --git a/example/src/components/modals/LoadingModal.tsx b/example/src/components/modals/LoadingModal.tsx
index a1f81ce..efa75c8 100644
--- a/example/src/components/modals/LoadingModal.tsx
+++ b/example/src/components/modals/LoadingModal.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import React from 'react'
import { ActivityIndicator, Modal, StyleSheet, useWindowDimensions } from 'react-native'
import { SafeAreaView } from 'react-native-safe-area-context'
diff --git a/example/src/components/modals/index.ts b/example/src/components/modals/index.ts
index f8430f1..9e637e5 100644
--- a/example/src/components/modals/index.ts
+++ b/example/src/components/modals/index.ts
@@ -1,2 +1,8 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './LoadingModal'
export * from './AddDocumentModal'
diff --git a/example/src/components/views/QRCodeView.tsx b/example/src/components/views/QRCodeView.tsx
index 85be8a9..a3be326 100644
--- a/example/src/components/views/QRCodeView.tsx
+++ b/example/src/components/views/QRCodeView.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import React, { useState } from 'react'
import { StyleSheet, View, Text } from 'react-native'
import QRCode from 'react-native-qrcode-svg'
diff --git a/example/src/components/views/index.ts b/example/src/components/views/index.ts
index 42b942c..83b55f6 100644
--- a/example/src/components/views/index.ts
+++ b/example/src/components/views/index.ts
@@ -1 +1,7 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './QRCodeView'
diff --git a/example/src/config.ts b/example/src/config.ts
index 6f1c512..82604b7 100644
--- a/example/src/config.ts
+++ b/example/src/config.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { EudiWalletConfig } from '@openwallet-foundation/eudi-wallet-kit-react-native'
import {
diff --git a/example/src/navigation/DocumentsStack.tsx b/example/src/navigation/DocumentsStack.tsx
index d645441..0ee4049 100644
--- a/example/src/navigation/DocumentsStack.tsx
+++ b/example/src/navigation/DocumentsStack.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { createNativeStackNavigator } from '@react-navigation/native-stack'
import React from 'react'
diff --git a/example/src/navigation/MainTabStack.tsx b/example/src/navigation/MainTabStack.tsx
index ac110d9..29fbc8e 100644
--- a/example/src/navigation/MainTabStack.tsx
+++ b/example/src/navigation/MainTabStack.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'
import React from 'react'
import { Platform } from 'react-native'
diff --git a/example/src/navigation/RootStack.tsx b/example/src/navigation/RootStack.tsx
index 4c86c0b..0d7ea42 100644
--- a/example/src/navigation/RootStack.tsx
+++ b/example/src/navigation/RootStack.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import {
type DisclosedDocument,
EudiWallet,
diff --git a/example/src/navigation/index.ts b/example/src/navigation/index.ts
index c71635f..4c5ce51 100644
--- a/example/src/navigation/index.ts
+++ b/example/src/navigation/index.ts
@@ -1 +1,7 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export { RootStack } from './RootStack'
diff --git a/example/src/navigation/types.ts b/example/src/navigation/types.ts
index 18593e5..346c4f8 100644
--- a/example/src/navigation/types.ts
+++ b/example/src/navigation/types.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { NavigatorScreenParams } from '@react-navigation/native'
export enum Screens {
diff --git a/example/src/screens/DocumentsList.tsx b/example/src/screens/DocumentsList.tsx
index 4fe27e9..50da8cd 100644
--- a/example/src/screens/DocumentsList.tsx
+++ b/example/src/screens/DocumentsList.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { EudiWallet, type Document } from '@openwallet-foundation/eudi-wallet-kit-react-native'
import React, { useEffect, useState } from 'react'
import { FlatList, StyleSheet, Text, View } from 'react-native'
diff --git a/example/src/screens/Home.tsx b/example/src/screens/Home.tsx
index 758994f..9621ee8 100644
--- a/example/src/screens/Home.tsx
+++ b/example/src/screens/Home.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import { EudiWallet } from '@openwallet-foundation/eudi-wallet-kit-react-native'
import React from 'react'
import { Button, Text, View } from 'react-native'
diff --git a/example/src/screens/ProximityPresentation.tsx b/example/src/screens/ProximityPresentation.tsx
index cfe27af..d9f4659 100644
--- a/example/src/screens/ProximityPresentation.tsx
+++ b/example/src/screens/ProximityPresentation.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { MainTabStackParams, Screens } from '../navigation/types'
import type { NativeStackScreenProps } from '@react-navigation/native-stack'
diff --git a/example/src/screens/Scan.tsx b/example/src/screens/Scan.tsx
index 98b2c2b..07bce88 100644
--- a/example/src/screens/Scan.tsx
+++ b/example/src/screens/Scan.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { NativeStackNavigationProp } from '@react-navigation/native-stack'
import { EudiWallet } from '@openwallet-foundation/eudi-wallet-kit-react-native'
diff --git a/example/src/screens/index.ts b/example/src/screens/index.ts
index ec7e172..0c7d8a2 100644
--- a/example/src/screens/index.ts
+++ b/example/src/screens/index.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './Home'
export * from './Scan'
export * from './DocumentsList'
diff --git a/example/src/types/errors.ts b/example/src/types/errors.ts
index 8089796..3982753 100644
--- a/example/src/types/errors.ts
+++ b/example/src/types/errors.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export class InvalidDataError extends Error {
public data: unknown
diff --git a/ios/EudiWalletKitReactNative-Bridging-Header.h b/ios/EudiWalletKitReactNative-Bridging-Header.h
index 8992b22..2d47707 100644
--- a/ios/EudiWalletKitReactNative-Bridging-Header.h
+++ b/ios/EudiWalletKitReactNative-Bridging-Header.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
#import
#import
#import
diff --git a/ios/Sources/Interfaces/EudiWalletModule.m b/ios/Sources/Interfaces/EudiWalletModule.m
index 631a06d..2f95854 100644
--- a/ios/Sources/Interfaces/EudiWalletModule.m
+++ b/ios/Sources/Interfaces/EudiWalletModule.m
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
#import
#import
diff --git a/ios/Sources/Interfaces/EudiWalletProxyEventsModule.m b/ios/Sources/Interfaces/EudiWalletProxyEventsModule.m
index e0506f7..0d1a502 100644
--- a/ios/Sources/Interfaces/EudiWalletProxyEventsModule.m
+++ b/ios/Sources/Interfaces/EudiWalletProxyEventsModule.m
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
#import
#import
#import
diff --git a/ios/Sources/Model/JSClientIdScheme.swift b/ios/Sources/Model/JSClientIdScheme.swift
index 84000be..9eeed67 100644
--- a/ios/Sources/Model/JSClientIdScheme.swift
+++ b/ios/Sources/Model/JSClientIdScheme.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSPreregisteredVerifier {
let clientId: String?
let verifierApi: String?
diff --git a/ios/Sources/Model/JSDisclosedDocument.swift b/ios/Sources/Model/JSDisclosedDocument.swift
index c2621d6..666bd03 100644
--- a/ios/Sources/Model/JSDisclosedDocument.swift
+++ b/ios/Sources/Model/JSDisclosedDocument.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import EudiWalletKit
import Foundation
diff --git a/ios/Sources/Model/JSDocument.swift b/ios/Sources/Model/JSDocument.swift
index bd65f16..834dc72 100644
--- a/ios/Sources/Model/JSDocument.swift
+++ b/ios/Sources/Model/JSDocument.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import MdocDataModel18013
import SwiftCBOR
import OrderedCollections
diff --git a/ios/Sources/Model/JSDocumentItem.swift b/ios/Sources/Model/JSDocumentItem.swift
index 2706472..697b617 100644
--- a/ios/Sources/Model/JSDocumentItem.swift
+++ b/ios/Sources/Model/JSDocumentItem.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSDocumentItem: Codable {
let namespace: String
let elementIdentifier: String
diff --git a/ios/Sources/Model/JSDocumentOffer.swift b/ios/Sources/Model/JSDocumentOffer.swift
index 179be74..39b418e 100644
--- a/ios/Sources/Model/JSDocumentOffer.swift
+++ b/ios/Sources/Model/JSDocumentOffer.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSDocumentOffer {
let issuerName: String
let offeredDocuments: [JSOfferedDocument]
diff --git a/ios/Sources/Model/JSDocumentRequest.swift b/ios/Sources/Model/JSDocumentRequest.swift
index c601f87..a14fe4d 100644
--- a/ios/Sources/Model/JSDocumentRequest.swift
+++ b/ios/Sources/Model/JSDocumentRequest.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import EudiWalletKit
import Foundation
diff --git a/ios/Sources/Model/JSEudiWalletConfig.swift b/ios/Sources/Model/JSEudiWalletConfig.swift
index 7baf273..df2fbcd 100644
--- a/ios/Sources/Model/JSEudiWalletConfig.swift
+++ b/ios/Sources/Model/JSEudiWalletConfig.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSEudiWalletConfig {
let trustedReaderCertificates: [Data]
let userAuthenticationRequired: Bool
diff --git a/ios/Sources/Model/JSIssueDocumentResult.swift b/ios/Sources/Model/JSIssueDocumentResult.swift
index e16532d..5174208 100644
--- a/ios/Sources/Model/JSIssueDocumentResult.swift
+++ b/ios/Sources/Model/JSIssueDocumentResult.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSIssueDocumentResult {
let totalCount: Int
let issuedCount: Int
diff --git a/ios/Sources/Model/JSOpenId4VciConfig.swift b/ios/Sources/Model/JSOpenId4VciConfig.swift
index e2d5340..ab8337f 100644
--- a/ios/Sources/Model/JSOpenId4VciConfig.swift
+++ b/ios/Sources/Model/JSOpenId4VciConfig.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSOpenId4VciConfig {
let issuerUrl: String?
let clientId: String?
diff --git a/ios/Sources/Model/JSOpenId4VpConfig.swift b/ios/Sources/Model/JSOpenId4VpConfig.swift
index 7d5c65d..2841e9c 100644
--- a/ios/Sources/Model/JSOpenId4VpConfig.swift
+++ b/ios/Sources/Model/JSOpenId4VpConfig.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct JSOpenId4VpConfig {
let scheme: String?
let encryptionAlgorithms: [String]?
diff --git a/ios/Sources/Model/JSRequestedDocument.swift b/ios/Sources/Model/JSRequestedDocument.swift
index 859d73c..af8db02 100644
--- a/ios/Sources/Model/JSRequestedDocument.swift
+++ b/ios/Sources/Model/JSRequestedDocument.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import EudiWalletKit
import Foundation
diff --git a/ios/Sources/Model/JSTransferEvent.swift b/ios/Sources/Model/JSTransferEvent.swift
index bbf4bd4..1c08d74 100644
--- a/ios/Sources/Model/JSTransferEvent.swift
+++ b/ios/Sources/Model/JSTransferEvent.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import Foundation
enum JSTransferEvent {
diff --git a/ios/Sources/PresentationSessionCoordinator.swift b/ios/Sources/PresentationSessionCoordinator.swift
index 4745dd9..1406ee8 100644
--- a/ios/Sources/PresentationSessionCoordinator.swift
+++ b/ios/Sources/PresentationSessionCoordinator.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import EudiWalletKit
import Foundation
import Combine
diff --git a/ios/Sources/ProxyEventsModule.swift b/ios/Sources/ProxyEventsModule.swift
index 3e796de..79c1546 100644
--- a/ios/Sources/ProxyEventsModule.swift
+++ b/ios/Sources/ProxyEventsModule.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import Foundation
@objc(EudiWalletProxyEventsModule)
diff --git a/ios/Sources/Utils/CertUtils.swift b/ios/Sources/Utils/CertUtils.swift
index fe67459..288dd7f 100644
--- a/ios/Sources/Utils/CertUtils.swift
+++ b/ios/Sources/Utils/CertUtils.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
struct CertUtils {
static func parseCertDataFromPem(certPem: String) throws -> Data {
let certBase64 = certPem
diff --git a/ios/Sources/Utils/SerializationUtils.swift b/ios/Sources/Utils/SerializationUtils.swift
index 70d80d0..d8967ea 100644
--- a/ios/Sources/Utils/SerializationUtils.swift
+++ b/ios/Sources/Utils/SerializationUtils.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import OrderedCollections
struct SerializationUtils {
diff --git a/ios/Sources/Utils/Types.swift b/ios/Sources/Utils/Types.swift
index 9e1468b..cf17f03 100644
--- a/ios/Sources/Utils/Types.swift
+++ b/ios/Sources/Utils/Types.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import Foundation
typealias JSONDictionary = [String: Any?]
diff --git a/ios/Sources/WalletModule.swift b/ios/Sources/WalletModule.swift
index be86e51..3ab6a80 100644
--- a/ios/Sources/WalletModule.swift
+++ b/ios/Sources/WalletModule.swift
@@ -1,3 +1,7 @@
+// Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+// https://www.dsr-corporation.com
+// SPDX-License-Identifier: Apache-2.0
+
import EudiWalletKit
import Foundation
import Combine
diff --git a/lefthook.yml b/lefthook.yml
index 17e03c2..317f25c 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -1,3 +1,7 @@
+# Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+# https://www.dsr-corporation.com
+# SPDX-License-Identifier: Apache-2.0
+
pre-commit:
parallel: true
commands:
diff --git a/package.json b/package.json
index 3acd8ec..fff1e05 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,7 @@
"name": "@openwallet-foundation/eudi-wallet-kit-react-native",
"version": "0.1.3",
"description": "React Native wrapper for EUDI wallet reference libraries",
+ "license": "Apache-2.0",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
diff --git a/src/EudiWallet.ts b/src/EudiWallet.ts
index 85eae1c..85848c6 100644
--- a/src/EudiWallet.ts
+++ b/src/EudiWallet.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { EudiWalletConfig } from './config'
import type { TransferEventListener } from './events'
import type { DisclosedDocument, Document, DocumentOffer, IssueDocumentResult } from './model'
diff --git a/src/EudiWalletEventManager.ts b/src/EudiWalletEventManager.ts
index 47086aa..f4eae5a 100644
--- a/src/EudiWalletEventManager.ts
+++ b/src/EudiWalletEventManager.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { EudiWalletEventListener, TransferEvent } from './events'
import { NativeEventEmitter, NativeModules } from 'react-native'
diff --git a/src/__tests__/index.test.tsx b/src/__tests__/index.test.tsx
index d41123f..842057a 100644
--- a/src/__tests__/index.test.tsx
+++ b/src/__tests__/index.test.tsx
@@ -1 +1,7 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
it.todo('write a test')
diff --git a/src/config/BLEConfig.ts b/src/config/BLEConfig.ts
index 9a77448..278c413 100644
--- a/src/config/BLEConfig.ts
+++ b/src/config/BLEConfig.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export enum BLETransferMode {
BLE_SERVER_PERIPHERAL_MODE = 1 << 0,
BLE_CLIENT_CENTRAL_MODE = 1 << 1,
diff --git a/src/config/Encryption.ts b/src/config/Encryption.ts
index bb9b38c..d1e3f79 100644
--- a/src/config/Encryption.ts
+++ b/src/config/Encryption.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export enum EncryptionAlgorithm {
ECDH_ES = 'ECDH-ES',
ECDH_ES_A128KW = 'ECDH-ES+A128KW',
diff --git a/src/config/EudiWalletConfig.ts b/src/config/EudiWalletConfig.ts
index e48c6d4..179e69d 100644
--- a/src/config/EudiWalletConfig.ts
+++ b/src/config/EudiWalletConfig.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { BLEConfig } from './BLEConfig'
import type { OpenId4VciConfig } from './OpenId4VciConfig'
import type { OpenId4VpConfig } from './OpenId4VpConfig'
diff --git a/src/config/OpenId4VciConfig.ts b/src/config/OpenId4VciConfig.ts
index 4cd2c27..015e332 100644
--- a/src/config/OpenId4VciConfig.ts
+++ b/src/config/OpenId4VciConfig.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export interface OpenId4VciConfig {
issuerUrl: string
clientId: string
diff --git a/src/config/OpenId4VpConfig.ts b/src/config/OpenId4VpConfig.ts
index 8ae1b00..38b6575 100644
--- a/src/config/OpenId4VpConfig.ts
+++ b/src/config/OpenId4VpConfig.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { EncryptionMethod } from './Encryption'
import { EncryptionAlgorithm } from './Encryption'
diff --git a/src/config/index.ts b/src/config/index.ts
index 3007ee3..65846d8 100644
--- a/src/config/index.ts
+++ b/src/config/index.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './Encryption'
export * from './OpenId4VpConfig'
export * from './OpenId4VciConfig'
diff --git a/src/events/TransferEvent.ts b/src/events/TransferEvent.ts
index 8592f49..65bf22b 100644
--- a/src/events/TransferEvent.ts
+++ b/src/events/TransferEvent.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { RequestedDocument } from '../model'
export enum TransferEventType {
diff --git a/src/events/index.ts b/src/events/index.ts
index 0e6994b..9db6205 100644
--- a/src/events/index.ts
+++ b/src/events/index.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { TransferEvent, TransferEventListener } from './TransferEvent'
export * from './TransferEvent'
diff --git a/src/index.tsx b/src/index.tsx
index bbdfcc7..997ed17 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './model'
export * from './events'
export * from './config'
diff --git a/src/model/DisclosedDocument.ts b/src/model/DisclosedDocument.ts
index c7f3d47..d5ac8ff 100644
--- a/src/model/DisclosedDocument.ts
+++ b/src/model/DisclosedDocument.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { DocumentItem, DocumentRequest } from './DocumentRequest'
export interface DisclosedDocument {
diff --git a/src/model/Document.ts b/src/model/Document.ts
index c072eda..13dedfa 100644
--- a/src/model/Document.ts
+++ b/src/model/Document.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
type DocumentData = Record
export interface Document {
diff --git a/src/model/DocumentOffer.ts b/src/model/DocumentOffer.ts
index 58af1d0..6bce54c 100644
--- a/src/model/DocumentOffer.ts
+++ b/src/model/DocumentOffer.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export interface DocumentOffer {
issuerName: string
offeredDocuments: OfferedDocument[]
diff --git a/src/model/DocumentRequest.ts b/src/model/DocumentRequest.ts
index 68ae919..1e05eb6 100644
--- a/src/model/DocumentRequest.ts
+++ b/src/model/DocumentRequest.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export interface DocumentItem {
namespace: string
elementIdentifier: string
diff --git a/src/model/IssueDocumentResult.ts b/src/model/IssueDocumentResult.ts
index 2b316f9..edfadad 100644
--- a/src/model/IssueDocumentResult.ts
+++ b/src/model/IssueDocumentResult.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export interface IssueDocumentResult {
totalCount: number
issuedCount: number
diff --git a/src/model/RequestedDocument.ts b/src/model/RequestedDocument.ts
index e54f70c..b31948c 100644
--- a/src/model/RequestedDocument.ts
+++ b/src/model/RequestedDocument.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
import type { DocumentRequest } from './DocumentRequest'
export interface RequestedDocument {
diff --git a/src/model/index.ts b/src/model/index.ts
index d8eb3e6..93802f2 100644
--- a/src/model/index.ts
+++ b/src/model/index.ts
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) 2024 DSR Corporation, Denver, Colorado.
+ * https://www.dsr-corporation.com
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
export * from './Document'
export * from './DocumentRequest'
export * from './DocumentOffer'