diff --git a/LICENSE b/LICENSE index 21f3690d9..f6678fce7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,4 @@ -MIT License +This repository contains multiple packages, each with its own LICENSE file. +Refer to the LICENSE file in each package directory for the terms that govern +that package. -Copyright (c) 2023 Proof of Passport - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/app/App.tsx b/app/App.tsx index 4d9bbafde..53ffba79d 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import 'react-native-get-random-values'; diff --git a/app/LICENSE b/app/LICENSE index 370d7b57e..6ffffc39a 100644 --- a/app/LICENSE +++ b/app/LICENSE @@ -20,7 +20,7 @@ Copyright (C) 2025 Social Connect Labs, Inc. The contents of this repository are licensed under the Business Source License 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: -https://github.com/self-xyz/project-name/blob/main/LICENSES/BSL1.1.txt +https://spdx.org/licenses/BUSL-1.1.html Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/app/android/app/src/main/java/com/proofofpassportapp/BackupModule.kt b/app/android/app/src/main/java/com/proofofpassportapp/BackupModule.kt index 0dd247803..cd34c895b 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/BackupModule.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/BackupModule.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp import android.app.backup.BackupManager @@ -22,4 +24,4 @@ class BackupModule(reactContext: ReactApplicationContext): ReactContextBaseJavaM // https://developer.android.com/identity/data/keyvaluebackup#RequestingRestore promise.resolve(null) } -} \ No newline at end of file +} diff --git a/app/android/app/src/main/java/com/proofofpassportapp/BackupPackage.kt b/app/android/app/src/main/java/com/proofofpassportapp/BackupPackage.kt index b59d36918..0c57cae77 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/BackupPackage.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/BackupPackage.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp import com.facebook.react.ReactPackage @@ -16,4 +18,4 @@ class BackupPackage : ReactPackage { ) } -} \ No newline at end of file +} diff --git a/app/android/app/src/main/java/com/proofofpassportapp/CameraActivityPackage.java b/app/android/app/src/main/java/com/proofofpassportapp/CameraActivityPackage.java index 93db9a7f0..dd528b1b2 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/CameraActivityPackage.java +++ b/app/android/app/src/main/java/com/proofofpassportapp/CameraActivityPackage.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp; import static com.google.android.gms.common.util.CollectionUtils.listOf; diff --git a/app/android/app/src/main/java/com/proofofpassportapp/MainActivity.kt b/app/android/app/src/main/java/com/proofofpassportapp/MainActivity.kt index 1b127bce7..4dd4d659d 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/MainActivity.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/MainActivity.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp import android.content.Intent diff --git a/app/android/app/src/main/java/com/proofofpassportapp/MainApplication.kt b/app/android/app/src/main/java/com/proofofpassportapp/MainApplication.kt index 6e9e64012..0508c67f0 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/MainApplication.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/MainApplication.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp import android.app.Application diff --git a/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerModule.java b/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerModule.java index cc3ce0be0..9f5bc9fbc 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerModule.java +++ b/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerModule.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp; import android.app.Activity; @@ -90,4 +92,4 @@ public class QRCodeScannerModule extends ReactContextBaseJavaModule { } } } -} \ No newline at end of file +} diff --git a/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerPackage.java b/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerPackage.java index b5733f171..98c9bea53 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerPackage.java +++ b/app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerPackage.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp; import com.facebook.react.ReactPackage; diff --git a/app/android/app/src/main/java/com/proofofpassportapp/ui/CameraMLKitFragment.kt b/app/android/app/src/main/java/com/proofofpassportapp/ui/CameraMLKitFragment.kt index 4318bd4b7..d77d6d589 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/ui/CameraMLKitFragment.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/ui/CameraMLKitFragment.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + /* * Copyright 2017 The Android Open Source Project * diff --git a/app/android/app/src/main/java/com/proofofpassportapp/ui/PassportOCRViewManager.kt b/app/android/app/src/main/java/com/proofofpassportapp/ui/PassportOCRViewManager.kt index 6202b1c63..dbfa9daa3 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/ui/PassportOCRViewManager.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/ui/PassportOCRViewManager.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp.ui import android.view.Choreographer diff --git a/app/android/app/src/main/java/com/proofofpassportapp/ui/QRCodeScannerViewManager.kt b/app/android/app/src/main/java/com/proofofpassportapp/ui/QRCodeScannerViewManager.kt index 1c3ef2823..d945116b6 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/ui/QRCodeScannerViewManager.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/ui/QRCodeScannerViewManager.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + package com.proofofpassportapp.ui import android.view.Choreographer diff --git a/app/android/app/src/main/java/com/proofofpassportapp/ui/QrCodeScannerFragment.kt b/app/android/app/src/main/java/com/proofofpassportapp/ui/QrCodeScannerFragment.kt index a9b39564d..69792c319 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/ui/QrCodeScannerFragment.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/ui/QrCodeScannerFragment.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + /* * Copyright 2017 The Android Open Source Project * diff --git a/app/android/app/src/main/java/com/proofofpassportapp/utils/QrCodeDetectorProcessor.kt b/app/android/app/src/main/java/com/proofofpassportapp/utils/QrCodeDetectorProcessor.kt index a240632f0..ea066510d 100644 --- a/app/android/app/src/main/java/com/proofofpassportapp/utils/QrCodeDetectorProcessor.kt +++ b/app/android/app/src/main/java/com/proofofpassportapp/utils/QrCodeDetectorProcessor.kt @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/app/android/react-native-passport-reader/index.android.js b/app/android/react-native-passport-reader/index.android.js index 90e9ac257..a60029b23 100644 --- a/app/android/react-native-passport-reader/index.android.js +++ b/app/android/react-native-passport-reader/index.android.js @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeModules } from 'react-native' diff --git a/app/declarations.d.ts b/app/declarations.d.ts index 58e4e212d..d97b5c29e 100644 --- a/app/declarations.d.ts +++ b/app/declarations.d.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 declare module '@env'; declare module '*.png' { diff --git a/app/fastlane/helpers.rb b/app/fastlane/helpers.rb index 13a8088b0..517f36c39 100644 --- a/app/fastlane/helpers.rb +++ b/app/fastlane/helpers.rb @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + require "bundler/setup" require "fastlane" require "tempfile" diff --git a/app/index.js b/app/index.js index 50e5ed040..4921b7193 100644 --- a/app/index.js +++ b/app/index.js @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 /** * @format diff --git a/app/ios/CameraView.swift b/app/ios/CameraView.swift index 9d58dcaf3..5db5fa724 100644 --- a/app/ios/CameraView.swift +++ b/app/ios/CameraView.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // CameraView.swift // SwiftUI camera preview with frame capture callback @@ -69,27 +71,27 @@ class CameraViewController: UIViewController, AVCaptureVideoDataOutputSampleBuff guard let previewLayer = previewLayer else { return .zero } let videoRect = previewLayer.layerRectConverted(fromMetadataOutputRect: CGRect(x: 0, y: 0, width: 1, height: 1)) let visibleRect = videoRect.intersection(view.bounds) - + //Lottie animation frame let lottieWidth = visibleRect.width * 1.3 // 130% of width let lottieHeight = visibleRect.height * 1.3 // 130% of height - + //bottom 25% of the Lottie animation let boxHeight = lottieHeight * 0.25 - + // Center the box horizontally and ensure it's within bounds let boxX = max(0, (visibleRect.width - lottieWidth) / 2) let boxWidth = min(lottieWidth, visibleRect.width) - + //Vertical offset to move the ROI a bit up. 15% in this case let verticalOffset = visibleRect.height * 0.15 - + //GreenBox should stay within the visible area let maxY = visibleRect.maxY - verticalOffset let minY = visibleRect.minY let boxY = max(minY, min(maxY - boxHeight, maxY - boxHeight)) // let boxY = visibleRect.maxY - boxHeight - + return CGRect(x: boxX, y: boxY, width: boxWidth, height: boxHeight) } @@ -97,23 +99,23 @@ class CameraViewController: UIViewController, AVCaptureVideoDataOutputSampleBuff guard let previewLayer = previewLayer else { return .zero } let videoRect = previewLayer.layerRectConverted(fromMetadataOutputRect: CGRect(x: 0, y: 0, width: 1, height: 1)) let greenBox = calculateGreenBoxFrame() - + // map greenBox to normalized coordinates within videoRect let normX = (greenBox.minX - videoRect.minX) / videoRect.width let normY = (greenBox.minY - videoRect.minY) / videoRect.height let normWidth = greenBox.width / videoRect.width let normHeight = greenBox.height / videoRect.height - + // Ensure normalized coordinates are within [0,1] bounds as vision's max ROI is (0,0) to (1,1) let clampedX = max(0, min(1, normX)) let clampedY = max(0, min(1, normY)) let clampedWidth = max(0, min(1 - clampedX, normWidth)) let clampedHeight = max(0, min(1 - clampedY, normHeight)) - + // Vision expects (0,0) at bottom-left, so flip Y let roiYVision = 1.0 - clampedY - clampedHeight let roi = CGRect(x: clampedX, y: roiYVision, width: clampedWidth, height: clampedHeight) - + // print("[CameraViewController] FINAL ROI for Vision (flipped Y, visible only): \(roi)") return roi } @@ -157,4 +159,4 @@ extension UIImage { UIGraphicsEndImageContext() return normalizedImage } -} \ No newline at end of file +} diff --git a/app/ios/LiveMRZScannerView.swift b/app/ios/LiveMRZScannerView.swift index 407a27314..ed6562bb1 100644 --- a/app/ios/LiveMRZScannerView.swift +++ b/app/ios/LiveMRZScannerView.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // LiveMRZScannerView.swift import SwiftUI @@ -13,9 +15,9 @@ struct LiveMRZScannerView: View { func singleCorrectDocumentNumberInMRZ(result: String, docNumber: String, parser: QKMRZParser) -> QKMRZResult? { let replacements: [Character: [Character]] = [ - // "0": ["O", "D"], - // "1": ["I"], - "O": ["0"], + // "0": ["O", "D"], + // "1": ["I"], + "O": ["0"], "D": ["0"], "I": ["1"], "L": ["1"], diff --git a/app/ios/LottieView.swift b/app/ios/LottieView.swift index 12e03bae0..95cefe090 100644 --- a/app/ios/LottieView.swift +++ b/app/ios/LottieView.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // LottieView.swift // FreedomTools @@ -9,25 +11,25 @@ import SwiftUI struct LottieView: UIViewRepresentable { var animationFileName: String let loopMode: LottieLoopMode - + func updateUIView(_ uiView: UIViewType, context: Context) {} - + func makeUIView(context: Context) -> some UIView { let view = UIView(frame: .zero) - + let animationView = LottieAnimationView(name: animationFileName) animationView.loopMode = loopMode animationView.contentMode = .scaleAspectFit animationView.play() - + animationView.translatesAutoresizingMaskIntoConstraints = false view.addSubview(animationView) - + NSLayoutConstraint.activate([ animationView.widthAnchor.constraint(equalTo: view.widthAnchor), animationView.heightAnchor.constraint(equalTo: view.heightAnchor) ]) - + return view } } diff --git a/app/ios/MRZScanner.swift b/app/ios/MRZScanner.swift index 2eb60d395..dab33e841 100644 --- a/app/ios/MRZScanner.swift +++ b/app/ios/MRZScanner.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // MRZScanner.swift @@ -15,7 +17,7 @@ struct MRZScanner { if let error = error { print("Vision error: \(error)") } - + guard let observations = request.results as? [VNRecognizedTextObservation] else { print("No text observations found") completion("No text found", []) @@ -23,29 +25,29 @@ struct MRZScanner { } // print("Found \(observations.count) text observations") - + var mrzLines: [String] = [] var boxes: [CGRect] = [] - + // Sort lines from top to bottom let sortedObservations = observations.sorted { $0.boundingBox.minY > $1.boundingBox.minY } - + for (index, obs) in sortedObservations.enumerated() { if let candidate = obs.topCandidates(1).first { let text = candidate.string let confidence = candidate.confidence // print("Line \(index): '\(text)' (confidence: \(confidence), position: \(obs.boundingBox))") - + // Check if this looks like an MRZ line (either contains "<" or matches MRZ pattern) // TD1 format (ID cards): 30 chars, TD3 format (passports): 44 chars - if text.contains("<") || + if text.contains("<") || text.matches(pattern: "^[A-Z0-9<]{30}$") || //TD1 //case where there's no '<' in MRZ text.matches(pattern: "^[A-Z0-9<]{44}$") //TD3 { // print("Matched MRZ pattern: \(text)") mrzLines.append(text) boxes.append(obs.boundingBox) - + // Check if we have a complete MRZ if (mrzLines.count == 2 && mrzLines.allSatisfy { $0.count == 44 }) || // TD3 - passport (mrzLines.count == 3 && mrzLines.allSatisfy { $0.count == 30 }) { // TD1 - ID card @@ -68,7 +70,7 @@ struct MRZScanner { request.recognitionLevel = .accurate request.usesLanguageCorrection = false request.recognitionLanguages = ["en"] - + // Use provided ROI. If not use as bottom 20% if let roi = roi { // print("[MRZScanner] Using provided ROI: \(roi) (image size: \(cgImage.width)x\(cgImage.height))") @@ -80,7 +82,7 @@ struct MRZScanner { // print("[MRZScanner] Using default ROI: \(defaultRoi) (image size: \(cgImage.width)x\(cgImage.height), roi height: \(roiHeight))") request.regionOfInterest = defaultRoi } - + let handler = VNImageRequestHandler(cgImage: cgImage, options: [:]) DispatchQueue.global(qos: .userInitiated).async { do { diff --git a/app/ios/MRZScannerModule.m b/app/ios/MRZScannerModule.m index 00aefd9ea..9cf9b18a7 100644 --- a/app/ios/MRZScannerModule.m +++ b/app/ios/MRZScannerModule.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // MRZScannerModule.m // OpenPassport diff --git a/app/ios/MRZScannerModule.swift b/app/ios/MRZScannerModule.swift index 81e6a254b..110cb2d59 100644 --- a/app/ios/MRZScannerModule.swift +++ b/app/ios/MRZScannerModule.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // MRZScannerModule.swift // ProofOfPassport diff --git a/app/ios/NotificationService/NotificationService.m b/app/ios/NotificationService/NotificationService.m index ab5dfae90..e14d7a84a 100644 --- a/app/ios/NotificationService/NotificationService.m +++ b/app/ios/NotificationService/NotificationService.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + #import "NotificationService.h" #import diff --git a/app/ios/OpenPassport/AppDelegate.mm b/app/ios/OpenPassport/AppDelegate.mm index ee123aefe..e626938aa 100644 --- a/app/ios/OpenPassport/AppDelegate.mm +++ b/app/ios/OpenPassport/AppDelegate.mm @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + #import "AppDelegate.h" #import #import diff --git a/app/ios/OpenPassport/main.m b/app/ios/OpenPassport/main.m index d645c7246..946b79782 100644 --- a/app/ios/OpenPassport/main.m +++ b/app/ios/OpenPassport/main.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + #import #import "AppDelegate.h" diff --git a/app/ios/PassportOCRViewManager.m b/app/ios/PassportOCRViewManager.m index b826c74a4..2acda40bb 100644 --- a/app/ios/PassportOCRViewManager.m +++ b/app/ios/PassportOCRViewManager.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + #import #import diff --git a/app/ios/PassportOCRViewManager.swift b/app/ios/PassportOCRViewManager.swift index a9560f04e..828560301 100644 --- a/app/ios/PassportOCRViewManager.swift +++ b/app/ios/PassportOCRViewManager.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + import Foundation import React import SwiftUI diff --git a/app/ios/PassportReader.m b/app/ios/PassportReader.m index 275797604..51e9e0670 100644 --- a/app/ios/PassportReader.m +++ b/app/ios/PassportReader.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // PassportReader.m // OpenPassport diff --git a/app/ios/PassportReader.swift b/app/ios/PassportReader.swift index d1a2b312c..5c2ae2be3 100644 --- a/app/ios/PassportReader.swift +++ b/app/ios/PassportReader.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // PassportReader.swift // OpenPassport @@ -33,44 +35,44 @@ extension Dictionary { @objc(PassportReader) class PassportReader: NSObject { private var passportReader: NFCPassportReader.PassportReader - + override init() { self.passportReader = NFCPassportReader.PassportReader() super.init() } - + @objc(configure:enableDebugLogs:) func configure(token: String, enableDebugLogs: Bool) { let analytics = Analytics(token: token, enableDebugLogs: enableDebugLogs) self.passportReader = NFCPassportReader.PassportReader(analytics: analytics) } - + func getMRZKey(passportNumber: String, dateOfBirth: String, dateOfExpiry: String ) -> String { - + // Pad fields if necessary let pptNr = pad( passportNumber, fieldLength:9) let dob = pad( dateOfBirth, fieldLength:6) let exp = pad( dateOfExpiry, fieldLength:6) - + // Calculate checksums let passportNrChksum = calcCheckSum(pptNr) let dateOfBirthChksum = calcCheckSum(dob) let expiryDateChksum = calcCheckSum(exp) - + let mrzKey = "\(pptNr)\(passportNrChksum)\(dob)\(dateOfBirthChksum)\(exp)\(expiryDateChksum)" - + return mrzKey } - + func pad( _ value : String, fieldLength:Int ) -> String { // Pad out field lengths with < if they are too short let paddedValue = (value + String(repeating: "<", count: fieldLength)).prefix(fieldLength) return String(paddedValue) } - + func calcCheckSum( _ checkString : String ) -> Int { let characterDict = ["0" : "0", "1" : "1", "2" : "2", "3" : "3", "4" : "4", "5" : "5", "6" : "6", "7" : "7", "8" : "8", "9" : "9", "<" : "0", " " : "0", "A" : "10", "B" : "11", "C" : "12", "D" : "13", "E" : "14", "F" : "15", "G" : "16", "H" : "17", "I" : "18", "J" : "19", "K" : "20", "L" : "21", "M" : "22", "N" : "23", "O" : "24", "P" : "25", "Q" : "26", "R" : "27", "S" : "28","T" : "29", "U" : "30", "V" : "31", "W" : "32", "X" : "33", "Y" : "34", "Z" : "35"] - + var sum = 0 var m = 0 let multipliers : [Int] = [7, 3, 1] @@ -81,10 +83,10 @@ class PassportReader: NSObject { sum += product m = (m+1) % 3 } - + return (sum % 10) } - + @objc(scanPassport:dateOfBirth:dateOfExpiry:canNumber:useCan:skipPACE:skipCA:extendedMode:resolve:reject:) func scanPassport( _ passportNumber: String, @@ -97,10 +99,10 @@ class PassportReader: NSObject { extendedMode: NSNumber, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) { let useCANBool = useCan.boolValue - let skipPACEBool = skipPACE.boolValue + let skipPACEBool = skipPACE.boolValue let skipCABool = skipCA.boolValue let extendedModeBool = extendedMode.boolValue - + let customMessageHandler : (NFCViewDisplayMessage)->String? = { (displayMessage) in switch displayMessage { case .requestPresentPassport: @@ -134,9 +136,9 @@ class PassportReader: NSObject { // passportReader.setMasterListURL( masterListURL! ) let passport = try await self.passportReader.readPassport( - password: password, - type: passwordType, - tags: [.COM, .DG1, .SOD], + password: password, + type: passwordType, + tags: [.COM, .DG1, .SOD], skipCA: skipCABool, skipPACE: skipPACEBool, useExtendedMode: extendedModeBool, @@ -166,8 +168,8 @@ class PassportReader: NSObject { // if let passportPhotoData = passport.passportPhoto { // let data = Data(passportPhotoData) // let base64String = data.base64EncodedString() - - // ret["passportPhoto"] = base64String + + // ret["passportPhoto"] = base64String // } // documentSigningCertificate @@ -248,14 +250,14 @@ class PassportReader: NSObject { if let sod = try passport.getDataGroup(DataGroupId.SOD) as? SOD { // ret["concatenatedDataHashes"] = try sod.getEncapsulatedContent().base64EncodedString() // this is what we call concatenatedDataHashes, not the true eContent ret["eContentBase64"] = try sod.getEncapsulatedContent().base64EncodedString() // this is what we call concatenatedDataHashes, not the true eContent - + ret["signatureAlgorithm"] = try sod.getSignatureAlgorithm() ret["encapsulatedContentDigestAlgorithm"] = try sod.getEncapsulatedContentDigestAlgorithm() - + let messageDigestFromSignedAttributes = try sod.getMessageDigestFromSignedAttributes() let signedAttributes = try sod.getSignedAttributes() //print("messageDigestFromSignedAttributes", messageDigestFromSignedAttributes) - + ret["signedAttributes"] = signedAttributes.base64EncodedString() // if let pubKey = convertOpaquePointerToSecKey(opaquePointer: sod.pubKey), // let serializedPublicKey = serializePublicKey(pubKey) { @@ -263,7 +265,7 @@ class PassportReader: NSObject { // } else { // // Handle the case where pubKey is nil // } - + if let serializedSignature = serializeSignature(from: sod) { ret["signatureBase64"] = serializedSignature } @@ -358,7 +360,7 @@ func serializePublicKey(_ publicKey: SecKey) -> String? { return nil } } - + func encodeX509WrapperToJsonString(_ certificate: X509Wrapper?) -> String? { guard let certificate = certificate else { return nil } let certificateItems = certificate.getItemsAsDict() diff --git a/app/ios/QKMRZScannerViewRepresentable.swift b/app/ios/QKMRZScannerViewRepresentable.swift index 04d53fed8..6a16699ab 100644 --- a/app/ios/QKMRZScannerViewRepresentable.swift +++ b/app/ios/QKMRZScannerViewRepresentable.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // MRZScannerModule.swift // OpenPassport @@ -23,13 +25,13 @@ struct QKMRZScannerViewRepresentable: UIViewRepresentable { } func mrzScannerView(_ mrzScannerView: QKMRZScannerView, didFind scanResult: QKMRZScanResult) { - + // Call the closure with the scan result parent.onScanResult?(scanResult) - + DispatchQueue.main.async { mrzScannerView.stopScanning() - + } } } diff --git a/app/ios/QRCodeScannerViewManager.m b/app/ios/QRCodeScannerViewManager.m index cd469f000..9279ead05 100644 --- a/app/ios/QRCodeScannerViewManager.m +++ b/app/ios/QRCodeScannerViewManager.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // QRCodeScannerViewManager.m // OpenPassport @@ -10,4 +12,4 @@ @interface RCT_EXTERN_MODULE(QRCodeScannerViewManager, RCTViewManager) RCT_EXPORT_VIEW_PROPERTY(onQRData, RCTDirectEventBlock) -@end \ No newline at end of file +@end diff --git a/app/ios/QRCodeScannerViewManager.swift b/app/ios/QRCodeScannerViewManager.swift index ff65caa59..c5899633a 100644 --- a/app/ios/QRCodeScannerViewManager.swift +++ b/app/ios/QRCodeScannerViewManager.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // QRCodeScannerViewManager.swift // OpenPassport diff --git a/app/ios/QRScannerBridge.m b/app/ios/QRScannerBridge.m index 7e71a7c37..9410cd2c7 100644 --- a/app/ios/QRScannerBridge.m +++ b/app/ios/QRScannerBridge.m @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // QRScannerBridge.m // OpenPassport diff --git a/app/ios/QRScannerBridge.swift b/app/ios/QRScannerBridge.swift index 91b32c387..4bcf0ad63 100644 --- a/app/ios/QRScannerBridge.swift +++ b/app/ios/QRScannerBridge.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // QRScannerBridge.swift // OpenPassport @@ -15,7 +17,7 @@ class QRScannerBridge: NSObject { static func requiresMainQueueSetup() -> Bool { return false } - + @objc func scanQRCode(_ resolve: @escaping RCTPromiseResolveBlock, rejecter reject: @escaping RCTPromiseRejectBlock) { DispatchQueue.main.async { diff --git a/app/ios/QRScannerViewController.swift b/app/ios/QRScannerViewController.swift index 1100d8964..1d1daf364 100644 --- a/app/ios/QRScannerViewController.swift +++ b/app/ios/QRScannerViewController.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // QRScannerViewController.swift // OpenPassport @@ -11,34 +13,34 @@ import SwiftQRScanner class QRScannerViewController: UIViewController, QRScannerCodeDelegate { var completionHandler: ((String) -> Void)? - + override func viewDidLoad() { super.viewDidLoad() - + var configuration = QRScannerConfiguration() configuration.cameraImage = UIImage(named: "camera") configuration.flashOnImage = UIImage(named: "flash-on") configuration.galleryImage = UIImage(named: "photos") - + let scanner = QRCodeScannerController(qrScannerConfiguration: configuration) scanner.delegate = self - + addChild(scanner) view.addSubview(scanner.view) scanner.view.frame = view.bounds scanner.didMove(toParent: self) } - + func qrScanner(_ controller: UIViewController, didScanQRCodeWithResult result: String) { completionHandler?(result) dismiss(animated: true, completion: nil) } - + func qrScanner(_ controller: UIViewController, didFailWithError error: QRCodeError) { print("QR Scanner Error: \(error.localizedDescription)") dismiss(animated: true, completion: nil) } - + func qrScannerDidCancel(_ controller: UIViewController) { dismiss(animated: true, completion: nil) } diff --git a/app/ios/ScannerHostingController.swift b/app/ios/ScannerHostingController.swift index 1d87e950d..51a84cfa4 100644 --- a/app/ios/ScannerHostingController.swift +++ b/app/ios/ScannerHostingController.swift @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 + // // ScannerHostingController.swift // OpenPassport @@ -38,4 +40,3 @@ class ScannerHostingController: UIViewController { hostingController.didMove(toParent: self) } } - diff --git a/app/jest.setup.js b/app/jest.setup.js index fbc33ebdc..43d813f2d 100644 --- a/app/jest.setup.js +++ b/app/jest.setup.js @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 /* global jest */ /** @jest-environment jsdom */ diff --git a/app/scripts/tag.js b/app/scripts/tag.js index db6258c47..bc0bc20a4 100644 --- a/app/scripts/tag.js +++ b/app/scripts/tag.js @@ -1,12 +1,5 @@ #!/usr/bin/env node -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 const { execSync } = require('child_process'); const fs = require('fs'); diff --git a/app/src/Segment.ts b/app/src/Segment.ts index 6dfe55d1d..2cb662e11 100644 --- a/app/src/Segment.ts +++ b/app/src/Segment.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import '@ethersproject/shims'; diff --git a/app/src/Sentry.ts b/app/src/Sentry.ts index 8dfa1775f..785fbe3ad 100644 --- a/app/src/Sentry.ts +++ b/app/src/Sentry.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { SENTRY_DSN } from '@env'; import * as Sentry from '@sentry/react-native'; diff --git a/app/src/components/BackupDocumentationLink.tsx b/app/src/components/BackupDocumentationLink.tsx index edda45443..701de1dbe 100644 --- a/app/src/components/BackupDocumentationLink.tsx +++ b/app/src/components/BackupDocumentationLink.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { Platform } from 'react-native'; diff --git a/app/src/components/ButtonsContainer.tsx b/app/src/components/ButtonsContainer.tsx index 40e893efe..946d313dd 100644 --- a/app/src/components/ButtonsContainer.tsx +++ b/app/src/components/ButtonsContainer.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { StyleSheet, View } from 'react-native'; diff --git a/app/src/components/Disclosures.tsx b/app/src/components/Disclosures.tsx index 0f5efd46d..66c124ab0 100644 --- a/app/src/components/Disclosures.tsx +++ b/app/src/components/Disclosures.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import type { SelfAppDisclosureConfig } from '@selfxyz/common'; import { Country3LetterCode, countryCodes } from '@selfxyz/common'; diff --git a/app/src/components/ErrorBoundary.tsx b/app/src/components/ErrorBoundary.tsx index 545c8baae..66af35a31 100644 --- a/app/src/components/ErrorBoundary.tsx +++ b/app/src/components/ErrorBoundary.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { Text, View } from 'react-native'; diff --git a/app/src/components/Mnemonic.tsx b/app/src/components/Mnemonic.tsx index 04cbf856b..31e5461fd 100644 --- a/app/src/components/Mnemonic.tsx +++ b/app/src/components/Mnemonic.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import Clipboard from '@react-native-clipboard/clipboard'; import React, { useCallback, useState } from 'react'; diff --git a/app/src/components/NavBar/BaseNavBar.tsx b/app/src/components/NavBar/BaseNavBar.tsx index 742961d91..8d1b6bab8 100644 --- a/app/src/components/NavBar/BaseNavBar.tsx +++ b/app/src/components/NavBar/BaseNavBar.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { ChevronLeft, X } from '@tamagui/lucide-icons'; import React, { useMemo } from 'react'; diff --git a/app/src/components/NavBar/DefaultNavBar.tsx b/app/src/components/NavBar/DefaultNavBar.tsx index b3019e523..06b2fc13a 100644 --- a/app/src/components/NavBar/DefaultNavBar.tsx +++ b/app/src/components/NavBar/DefaultNavBar.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackHeaderProps } from '@react-navigation/native-stack'; import React from 'react'; diff --git a/app/src/components/NavBar/HomeNavBar.tsx b/app/src/components/NavBar/HomeNavBar.tsx index 66ac8a1ec..6a76a9726 100644 --- a/app/src/components/NavBar/HomeNavBar.tsx +++ b/app/src/components/NavBar/HomeNavBar.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackHeaderProps } from '@react-navigation/native-stack'; import React from 'react'; diff --git a/app/src/components/NavBar/ProgressNavBar.tsx b/app/src/components/NavBar/ProgressNavBar.tsx index bf6650ca2..935b0b9a0 100644 --- a/app/src/components/NavBar/ProgressNavBar.tsx +++ b/app/src/components/NavBar/ProgressNavBar.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackHeaderProps, diff --git a/app/src/components/NavBar/index.ts b/app/src/components/NavBar/index.ts index 134f8964f..0ce140f43 100644 --- a/app/src/components/NavBar/index.ts +++ b/app/src/components/NavBar/index.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export { DefaultNavBar } from './DefaultNavBar'; export { HomeNavBar } from './HomeNavBar'; diff --git a/app/src/components/TextsContainer.tsx b/app/src/components/TextsContainer.tsx index d6740bfaa..5fbf69af6 100644 --- a/app/src/components/TextsContainer.tsx +++ b/app/src/components/TextsContainer.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { StyleSheet, View, ViewStyle } from 'react-native'; diff --git a/app/src/components/Tips.tsx b/app/src/components/Tips.tsx index c0d489d84..c79c4aad7 100644 --- a/app/src/components/Tips.tsx +++ b/app/src/components/Tips.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { Text, View } from 'tamagui'; diff --git a/app/src/components/buttons/AbstractButton.tsx b/app/src/components/buttons/AbstractButton.tsx index 27a436405..34333c52d 100644 --- a/app/src/components/buttons/AbstractButton.tsx +++ b/app/src/components/buttons/AbstractButton.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { StyleSheet, ViewStyle } from 'react-native'; diff --git a/app/src/components/buttons/HeldPrimaryButtonProveScreen.tsx b/app/src/components/buttons/HeldPrimaryButtonProveScreen.tsx index 6799adef1..edaafe9df 100644 --- a/app/src/components/buttons/HeldPrimaryButtonProveScreen.tsx +++ b/app/src/components/buttons/HeldPrimaryButtonProveScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useMachine } from '@xstate/react'; import React, { useEffect } from 'react'; diff --git a/app/src/components/buttons/PrimaryButton.tsx b/app/src/components/buttons/PrimaryButton.tsx index a865f192f..20f4745e5 100644 --- a/app/src/components/buttons/PrimaryButton.tsx +++ b/app/src/components/buttons/PrimaryButton.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; diff --git a/app/src/components/buttons/PrimaryButtonLongHold.tsx b/app/src/components/buttons/PrimaryButtonLongHold.tsx index 405b7756b..28b72e6aa 100644 --- a/app/src/components/buttons/PrimaryButtonLongHold.tsx +++ b/app/src/components/buttons/PrimaryButtonLongHold.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useEffect, useState } from 'react'; import { diff --git a/app/src/components/buttons/SecondaryButton.tsx b/app/src/components/buttons/SecondaryButton.tsx index 181320f43..6af73cf1f 100644 --- a/app/src/components/buttons/SecondaryButton.tsx +++ b/app/src/components/buttons/SecondaryButton.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; diff --git a/app/src/components/buttons/pressedStyle.tsx b/app/src/components/buttons/pressedStyle.tsx index 12589e282..89bd7a010 100644 --- a/app/src/components/buttons/pressedStyle.tsx +++ b/app/src/components/buttons/pressedStyle.tsx @@ -1,10 +1,3 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const pressedStyle = { transform: [{ scale: 0.99 }], opacity: 0.85 }; diff --git a/app/src/components/native/PassportCamera.tsx b/app/src/components/native/PassportCamera.tsx index ba7dc50bf..3bfa55284 100644 --- a/app/src/components/native/PassportCamera.tsx +++ b/app/src/components/native/PassportCamera.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useCallback } from 'react'; import { diff --git a/app/src/components/native/QRCodeScanner.tsx b/app/src/components/native/QRCodeScanner.tsx index ce84b8d13..4e8695c88 100644 --- a/app/src/components/native/QRCodeScanner.tsx +++ b/app/src/components/native/QRCodeScanner.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useCallback } from 'react'; import { diff --git a/app/src/components/native/RCTFragment.tsx b/app/src/components/native/RCTFragment.tsx index 5d3cae658..350f52e40 100644 --- a/app/src/components/native/RCTFragment.tsx +++ b/app/src/components/native/RCTFragment.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useEffect, useRef } from 'react'; import { NativeSyntheticEvent, requireNativeComponent } from 'react-native'; diff --git a/app/src/components/typography/Additional.tsx b/app/src/components/typography/Additional.tsx index a495c2f5d..c9ad225c0 100644 --- a/app/src/components/typography/Additional.tsx +++ b/app/src/components/typography/Additional.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { StyleSheet, Text, TextProps } from 'react-native'; diff --git a/app/src/components/typography/BodyText.ts b/app/src/components/typography/BodyText.ts index 61f874bbb..4cba76670 100644 --- a/app/src/components/typography/BodyText.ts +++ b/app/src/components/typography/BodyText.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { styled, Text } from 'tamagui'; diff --git a/app/src/components/typography/Caption.tsx b/app/src/components/typography/Caption.tsx index dff869a4a..eca00e0d7 100644 --- a/app/src/components/typography/Caption.tsx +++ b/app/src/components/typography/Caption.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { styled } from 'tamagui'; diff --git a/app/src/components/typography/Caution.tsx b/app/src/components/typography/Caution.tsx index 460721c05..b4b73ef5e 100644 --- a/app/src/components/typography/Caution.tsx +++ b/app/src/components/typography/Caution.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { StyleSheet, Text, TextProps } from 'react-native'; diff --git a/app/src/components/typography/Description.tsx b/app/src/components/typography/Description.tsx index 67997c023..39f35045c 100644 --- a/app/src/components/typography/Description.tsx +++ b/app/src/components/typography/Description.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { StyleSheet } from 'react-native'; diff --git a/app/src/components/typography/DescriptionTitle.tsx b/app/src/components/typography/DescriptionTitle.tsx index 847189584..90e7d783b 100644 --- a/app/src/components/typography/DescriptionTitle.tsx +++ b/app/src/components/typography/DescriptionTitle.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { styled, Text } from 'tamagui'; diff --git a/app/src/components/typography/SubHeader.tsx b/app/src/components/typography/SubHeader.tsx index eb151ce24..499ed981a 100644 --- a/app/src/components/typography/SubHeader.tsx +++ b/app/src/components/typography/SubHeader.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { styled, Text } from 'tamagui'; diff --git a/app/src/components/typography/Title.tsx b/app/src/components/typography/Title.tsx index 9583a11ab..3b84b8bc1 100644 --- a/app/src/components/typography/Title.tsx +++ b/app/src/components/typography/Title.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { StyleProp, TextStyle } from 'react-native'; import { styled, Text } from 'tamagui'; diff --git a/app/src/components/typography/styles.ts b/app/src/components/typography/styles.ts index 5449391de..1c80829ac 100644 --- a/app/src/components/typography/styles.ts +++ b/app/src/components/typography/styles.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { StyleSheet } from 'react-native'; diff --git a/app/src/consts/analytics.ts b/app/src/consts/analytics.ts index 667935e64..a6cfed2c7 100644 --- a/app/src/consts/analytics.ts +++ b/app/src/consts/analytics.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const AppEvents = { DISMISS_PRIVACY_DISCLAIMER: 'App: Dismiss Privacy Disclaimer', diff --git a/app/src/consts/links.ts b/app/src/consts/links.ts index 2c6e8ae46..0148bb152 100644 --- a/app/src/consts/links.ts +++ b/app/src/consts/links.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const selfUrl = 'https://self.xyz'; diff --git a/app/src/hooks/useAesopRedesign.ts b/app/src/hooks/useAesopRedesign.ts index 33a67544d..23c4ae7c0 100644 --- a/app/src/hooks/useAesopRedesign.ts +++ b/app/src/hooks/useAesopRedesign.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { IS_TEST_BUILD } from '@env'; diff --git a/app/src/hooks/useAppUpdates.ts b/app/src/hooks/useAppUpdates.ts index 96eaa6ee4..7ad53ee8b 100644 --- a/app/src/hooks/useAppUpdates.ts +++ b/app/src/hooks/useAppUpdates.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { useEffect, useState } from 'react'; diff --git a/app/src/hooks/useConnectionModal.ts b/app/src/hooks/useConnectionModal.ts index 554d6999d..178cff384 100644 --- a/app/src/hooks/useConnectionModal.ts +++ b/app/src/hooks/useConnectionModal.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNetInfo } from '@react-native-community/netinfo'; import { useEffect } from 'react'; diff --git a/app/src/hooks/useHapticNavigation.ts b/app/src/hooks/useHapticNavigation.ts index 30f049346..e27de8f48 100644 --- a/app/src/hooks/useHapticNavigation.ts +++ b/app/src/hooks/useHapticNavigation.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { NativeStackScreenProps } from '@react-navigation/native-stack'; diff --git a/app/src/hooks/useMnemonic.ts b/app/src/hooks/useMnemonic.ts index 89232408b..29572abbb 100644 --- a/app/src/hooks/useMnemonic.ts +++ b/app/src/hooks/useMnemonic.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { ethers } from 'ethers'; import { useCallback, useState } from 'react'; diff --git a/app/src/hooks/useModal.ts b/app/src/hooks/useModal.ts index 4e7656180..4e9322a64 100644 --- a/app/src/hooks/useModal.ts +++ b/app/src/hooks/useModal.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { useCallback, useState } from 'react'; diff --git a/app/src/layouts/AppLayout.tsx b/app/src/layouts/AppLayout.tsx index 5ed9c00f6..c2a7e2104 100644 --- a/app/src/layouts/AppLayout.tsx +++ b/app/src/layouts/AppLayout.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { PropsWithChildren } from 'react'; import { SafeAreaProvider } from 'react-native-safe-area-context'; diff --git a/app/src/layouts/ExpandableBottomLayout.tsx b/app/src/layouts/ExpandableBottomLayout.tsx index 58dcabcf7..48508c569 100644 --- a/app/src/layouts/ExpandableBottomLayout.tsx +++ b/app/src/layouts/ExpandableBottomLayout.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { diff --git a/app/src/layouts/SimpleScrolledTitleLayout.tsx b/app/src/layouts/SimpleScrolledTitleLayout.tsx index d813d2487..c608f998f 100644 --- a/app/src/layouts/SimpleScrolledTitleLayout.tsx +++ b/app/src/layouts/SimpleScrolledTitleLayout.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { ScrollView, YStack } from 'tamagui'; diff --git a/app/src/navigation/aesop.ts b/app/src/navigation/aesop.ts index 62caf9d0d..0695b99b1 100644 --- a/app/src/navigation/aesop.ts +++ b/app/src/navigation/aesop.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/navigation/dev.ts b/app/src/navigation/dev.ts index e25b21ba7..6400c6060 100644 --- a/app/src/navigation/dev.ts +++ b/app/src/navigation/dev.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/navigation/home.ts b/app/src/navigation/home.ts index 0abdd9f60..556486822 100644 --- a/app/src/navigation/home.ts +++ b/app/src/navigation/home.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/navigation/index.tsx b/app/src/navigation/index.tsx index 67f9cfb7f..4dbc832c4 100644 --- a/app/src/navigation/index.tsx +++ b/app/src/navigation/index.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import 'react-native-gesture-handler'; diff --git a/app/src/navigation/misc.tsx b/app/src/navigation/misc.tsx index 9e5c70aff..b8bbf0588 100644 --- a/app/src/navigation/misc.tsx +++ b/app/src/navigation/misc.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; import React from 'react'; diff --git a/app/src/navigation/passport.ts b/app/src/navigation/passport.ts index 99ff26b30..bdbf5f48e 100644 --- a/app/src/navigation/passport.ts +++ b/app/src/navigation/passport.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/navigation/prove.ts b/app/src/navigation/prove.ts index 0e47850b5..a78a641f8 100644 --- a/app/src/navigation/prove.ts +++ b/app/src/navigation/prove.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/navigation/recovery.ts b/app/src/navigation/recovery.ts index 23fd6e071..f82d3ecd4 100644 --- a/app/src/navigation/recovery.ts +++ b/app/src/navigation/recovery.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/navigation/settings.ts b/app/src/navigation/settings.ts index 38c4491d6..09ae294d8 100644 --- a/app/src/navigation/settings.ts +++ b/app/src/navigation/settings.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { NativeStackNavigationOptions } from '@react-navigation/native-stack'; diff --git a/app/src/providers/authProvider.tsx b/app/src/providers/authProvider.tsx index 4b7f765f1..054609e28 100644 --- a/app/src/providers/authProvider.tsx +++ b/app/src/providers/authProvider.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { ethers } from 'ethers'; import React, { diff --git a/app/src/providers/databaseProvider.tsx b/app/src/providers/databaseProvider.tsx index cb44e595c..25873d1a1 100644 --- a/app/src/providers/databaseProvider.tsx +++ b/app/src/providers/databaseProvider.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { createContext, useEffect } from 'react'; diff --git a/app/src/providers/notificationTrackingProvider.tsx b/app/src/providers/notificationTrackingProvider.tsx index 0994194a6..c43ff4f95 100644 --- a/app/src/providers/notificationTrackingProvider.tsx +++ b/app/src/providers/notificationTrackingProvider.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import messaging from '@react-native-firebase/messaging'; import React, { PropsWithChildren, useEffect } from 'react'; diff --git a/app/src/providers/passportDataProvider.tsx b/app/src/providers/passportDataProvider.tsx index 44d8907d5..1f4e6075a 100644 --- a/app/src/providers/passportDataProvider.tsx +++ b/app/src/providers/passportDataProvider.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 /* * PROPOSED NEW STORAGE ARCHITECTURE FOR MULTIPLE DOCUMENTS diff --git a/app/src/screens/aesop/PassportOnboardingScreen.tsx b/app/src/screens/aesop/PassportOnboardingScreen.tsx index a6530e97e..74cb116ad 100644 --- a/app/src/screens/aesop/PassportOnboardingScreen.tsx +++ b/app/src/screens/aesop/PassportOnboardingScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import LottieView from 'lottie-react-native'; import React, { useEffect, useRef } from 'react'; diff --git a/app/src/screens/dev/DevHapticFeedback.tsx b/app/src/screens/dev/DevHapticFeedback.tsx index 77c482e9c..5de7616a9 100644 --- a/app/src/screens/dev/DevHapticFeedback.tsx +++ b/app/src/screens/dev/DevHapticFeedback.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useState } from 'react'; import { StyleSheet } from 'react-native'; diff --git a/app/src/screens/dev/DevSettingsScreen.tsx b/app/src/screens/dev/DevSettingsScreen.tsx index 17327007a..089efcfa4 100644 --- a/app/src/screens/dev/DevSettingsScreen.tsx +++ b/app/src/screens/dev/DevSettingsScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { Check, ChevronDown, Eraser } from '@tamagui/lucide-icons'; diff --git a/app/src/screens/dev/MockDataScreen.tsx b/app/src/screens/dev/MockDataScreen.tsx index 917521ca5..05a45d0fc 100644 --- a/app/src/screens/dev/MockDataScreen.tsx +++ b/app/src/screens/dev/MockDataScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { countryCodes } from '@selfxyz/common'; diff --git a/app/src/screens/dev/MockDataScreenDeepLink.tsx b/app/src/screens/dev/MockDataScreenDeepLink.tsx index eec12fa0d..cfbc80299 100644 --- a/app/src/screens/dev/MockDataScreenDeepLink.tsx +++ b/app/src/screens/dev/MockDataScreenDeepLink.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { countryCodes } from '@selfxyz/common'; diff --git a/app/src/screens/home/DisclaimerScreen.tsx b/app/src/screens/home/DisclaimerScreen.tsx index 08057b818..c495db427 100644 --- a/app/src/screens/home/DisclaimerScreen.tsx +++ b/app/src/screens/home/DisclaimerScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import LottieView from 'lottie-react-native'; diff --git a/app/src/screens/home/HomeScreen.tsx b/app/src/screens/home/HomeScreen.tsx index 575171d1e..94d2b13ee 100644 --- a/app/src/screens/home/HomeScreen.tsx +++ b/app/src/screens/home/HomeScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useFocusEffect, usePreventRemove } from '@react-navigation/native'; import React from 'react'; diff --git a/app/src/screens/home/ProofHistoryDetailScreen.tsx b/app/src/screens/home/ProofHistoryDetailScreen.tsx index 17d2d8299..34300b9ce 100644 --- a/app/src/screens/home/ProofHistoryDetailScreen.tsx +++ b/app/src/screens/home/ProofHistoryDetailScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { CheckSquare2, Info, Wallet } from '@tamagui/lucide-icons'; import React, { useMemo } from 'react'; diff --git a/app/src/screens/home/ProofHistoryScreen.tsx b/app/src/screens/home/ProofHistoryScreen.tsx index fc3183bb1..38d8be648 100644 --- a/app/src/screens/home/ProofHistoryScreen.tsx +++ b/app/src/screens/home/ProofHistoryScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { CheckSquare2, Wallet } from '@tamagui/lucide-icons'; diff --git a/app/src/screens/misc/LaunchScreen.tsx b/app/src/screens/misc/LaunchScreen.tsx index 2b6fc617d..3f313139a 100644 --- a/app/src/screens/misc/LaunchScreen.tsx +++ b/app/src/screens/misc/LaunchScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import LottieView from 'lottie-react-native'; import React from 'react'; diff --git a/app/src/screens/misc/LoadingScreen.tsx b/app/src/screens/misc/LoadingScreen.tsx index 4b053be53..fe0d6ceb8 100644 --- a/app/src/screens/misc/LoadingScreen.tsx +++ b/app/src/screens/misc/LoadingScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { StaticScreenProps, useIsFocused } from '@react-navigation/native'; import { PassportData } from '@selfxyz/common'; diff --git a/app/src/screens/misc/ModalScreen.tsx b/app/src/screens/misc/ModalScreen.tsx index 6a6316a71..60cc93723 100644 --- a/app/src/screens/misc/ModalScreen.tsx +++ b/app/src/screens/misc/ModalScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { StaticScreenProps, useNavigation } from '@react-navigation/native'; import React, { useCallback } from 'react'; diff --git a/app/src/screens/misc/SplashScreen.tsx b/app/src/screens/misc/SplashScreen.tsx index 664222e88..6add3690e 100644 --- a/app/src/screens/misc/SplashScreen.tsx +++ b/app/src/screens/misc/SplashScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { PassportData } from '@selfxyz/common'; diff --git a/app/src/screens/passport/NFCMethodSelectionScreen.tsx b/app/src/screens/passport/NFCMethodSelectionScreen.tsx index 7e82b1862..c407c0728 100644 --- a/app/src/screens/passport/NFCMethodSelectionScreen.tsx +++ b/app/src/screens/passport/NFCMethodSelectionScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import React, { useState } from 'react'; diff --git a/app/src/screens/passport/PassportCameraScreen.tsx b/app/src/screens/passport/PassportCameraScreen.tsx index de89408f3..1801f4f90 100644 --- a/app/src/screens/passport/PassportCameraScreen.tsx +++ b/app/src/screens/passport/PassportCameraScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useIsFocused, useNavigation } from '@react-navigation/native'; import LottieView from 'lottie-react-native'; diff --git a/app/src/screens/passport/PassportCameraTroubleScreen.tsx b/app/src/screens/passport/PassportCameraTroubleScreen.tsx index 0d3356451..fc866074d 100644 --- a/app/src/screens/passport/PassportCameraTroubleScreen.tsx +++ b/app/src/screens/passport/PassportCameraTroubleScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; diff --git a/app/src/screens/passport/PassportNFCScanScreen.tsx b/app/src/screens/passport/PassportNFCScanScreen.tsx index d42a38177..cf69a21c1 100644 --- a/app/src/screens/passport/PassportNFCScanScreen.tsx +++ b/app/src/screens/passport/PassportNFCScanScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useFocusEffect, diff --git a/app/src/screens/passport/PassportNFCTroubleScreen.tsx b/app/src/screens/passport/PassportNFCTroubleScreen.tsx index f5266a222..7b1c20593 100644 --- a/app/src/screens/passport/PassportNFCTroubleScreen.tsx +++ b/app/src/screens/passport/PassportNFCTroubleScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { Gesture, GestureDetector } from 'react-native-gesture-handler'; diff --git a/app/src/screens/passport/PassportOnboardingScreen.tsx b/app/src/screens/passport/PassportOnboardingScreen.tsx index 4dbfe574a..b3a604e8b 100644 --- a/app/src/screens/passport/PassportOnboardingScreen.tsx +++ b/app/src/screens/passport/PassportOnboardingScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import LottieView from 'lottie-react-native'; diff --git a/app/src/screens/passport/UnsupportedPassportScreen.tsx b/app/src/screens/passport/UnsupportedPassportScreen.tsx index 540dd900a..812f40abe 100644 --- a/app/src/screens/passport/UnsupportedPassportScreen.tsx +++ b/app/src/screens/passport/UnsupportedPassportScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import LottieView from 'lottie-react-native'; import React, { useEffect } from 'react'; diff --git a/app/src/screens/prove/ConfirmBelongingScreen.tsx b/app/src/screens/prove/ConfirmBelongingScreen.tsx index e735b21a4..603063f05 100644 --- a/app/src/screens/prove/ConfirmBelongingScreen.tsx +++ b/app/src/screens/prove/ConfirmBelongingScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { StaticScreenProps, usePreventRemove } from '@react-navigation/native'; import LottieView from 'lottie-react-native'; diff --git a/app/src/screens/prove/ProofRequestStatusScreen.tsx b/app/src/screens/prove/ProofRequestStatusScreen.tsx index 7faec2784..e06a19c89 100644 --- a/app/src/screens/prove/ProofRequestStatusScreen.tsx +++ b/app/src/screens/prove/ProofRequestStatusScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useIsFocused } from '@react-navigation/native'; import LottieView from 'lottie-react-native'; diff --git a/app/src/screens/prove/ProveScreen.tsx b/app/src/screens/prove/ProveScreen.tsx index 92cdac459..cb5ba114b 100644 --- a/app/src/screens/prove/ProveScreen.tsx +++ b/app/src/screens/prove/ProveScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useIsFocused, useNavigation } from '@react-navigation/native'; import { SelfAppDisclosureConfig } from '@selfxyz/common'; diff --git a/app/src/screens/prove/QRCodeTroubleScreen.tsx b/app/src/screens/prove/QRCodeTroubleScreen.tsx index 925cdd713..d7af780d8 100644 --- a/app/src/screens/prove/QRCodeTroubleScreen.tsx +++ b/app/src/screens/prove/QRCodeTroubleScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; diff --git a/app/src/screens/prove/ViewFinderScreen.tsx b/app/src/screens/prove/ViewFinderScreen.tsx index bff1002e3..2f4927a73 100644 --- a/app/src/screens/prove/ViewFinderScreen.tsx +++ b/app/src/screens/prove/ViewFinderScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useFocusEffect, diff --git a/app/src/screens/recovery/AccountRecoveryChoiceScreen.tsx b/app/src/screens/recovery/AccountRecoveryChoiceScreen.tsx index 37908503f..c447d21f7 100644 --- a/app/src/screens/recovery/AccountRecoveryChoiceScreen.tsx +++ b/app/src/screens/recovery/AccountRecoveryChoiceScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import React, { useCallback, useState } from 'react'; diff --git a/app/src/screens/recovery/AccountRecoveryScreen.tsx b/app/src/screens/recovery/AccountRecoveryScreen.tsx index ebbb73411..fce061ba9 100644 --- a/app/src/screens/recovery/AccountRecoveryScreen.tsx +++ b/app/src/screens/recovery/AccountRecoveryScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; import { View, YStack } from 'tamagui'; diff --git a/app/src/screens/recovery/AccountVerifiedSuccessScreen.tsx b/app/src/screens/recovery/AccountVerifiedSuccessScreen.tsx index e456958f5..57576e26b 100644 --- a/app/src/screens/recovery/AccountVerifiedSuccessScreen.tsx +++ b/app/src/screens/recovery/AccountVerifiedSuccessScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import LottieView from 'lottie-react-native'; diff --git a/app/src/screens/recovery/PassportDataNotFoundScreen.tsx b/app/src/screens/recovery/PassportDataNotFoundScreen.tsx index a509973fb..72009f496 100644 --- a/app/src/screens/recovery/PassportDataNotFoundScreen.tsx +++ b/app/src/screens/recovery/PassportDataNotFoundScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React from 'react'; diff --git a/app/src/screens/recovery/RecoverWithPhraseScreen.tsx b/app/src/screens/recovery/RecoverWithPhraseScreen.tsx index 0880041da..280982575 100644 --- a/app/src/screens/recovery/RecoverWithPhraseScreen.tsx +++ b/app/src/screens/recovery/RecoverWithPhraseScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import Clipboard from '@react-native-clipboard/clipboard'; import { useNavigation } from '@react-navigation/native'; diff --git a/app/src/screens/recovery/SaveRecoveryPhraseScreen.tsx b/app/src/screens/recovery/SaveRecoveryPhraseScreen.tsx index dd32bef69..ae56b7561 100644 --- a/app/src/screens/recovery/SaveRecoveryPhraseScreen.tsx +++ b/app/src/screens/recovery/SaveRecoveryPhraseScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useCallback, useState } from 'react'; diff --git a/app/src/screens/settings/CloudBackupScreen.tsx b/app/src/screens/settings/CloudBackupScreen.tsx index aafc4d8bb..a1dbf3376 100644 --- a/app/src/screens/settings/CloudBackupScreen.tsx +++ b/app/src/screens/settings/CloudBackupScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { StaticScreenProps, useNavigation } from '@react-navigation/native'; import React, { useCallback, useMemo, useState } from 'react'; diff --git a/app/src/screens/settings/ManageDocumentsScreen.tsx b/app/src/screens/settings/ManageDocumentsScreen.tsx index 445f3adaa..13e38e655 100644 --- a/app/src/screens/settings/ManageDocumentsScreen.tsx +++ b/app/src/screens/settings/ManageDocumentsScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { Check, Eraser } from '@tamagui/lucide-icons'; diff --git a/app/src/screens/settings/PassportDataInfoScreen.tsx b/app/src/screens/settings/PassportDataInfoScreen.tsx index 1cb393f0d..dc1b974b9 100644 --- a/app/src/screens/settings/PassportDataInfoScreen.tsx +++ b/app/src/screens/settings/PassportDataInfoScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useFocusEffect } from '@react-navigation/native'; import { PassportMetadata } from '@selfxyz/common'; diff --git a/app/src/screens/settings/SettingsScreen.tsx b/app/src/screens/settings/SettingsScreen.tsx index a76cd1a65..292426617 100644 --- a/app/src/screens/settings/SettingsScreen.tsx +++ b/app/src/screens/settings/SettingsScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { useNavigation } from '@react-navigation/native'; import { Bug } from '@tamagui/lucide-icons'; diff --git a/app/src/screens/settings/ShowRecoveryPhraseScreen.tsx b/app/src/screens/settings/ShowRecoveryPhraseScreen.tsx index bc614da5a..432c647ae 100644 --- a/app/src/screens/settings/ShowRecoveryPhraseScreen.tsx +++ b/app/src/screens/settings/ShowRecoveryPhraseScreen.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import React, { useCallback } from 'react'; diff --git a/app/src/stores/proofHistoryStore.ts b/app/src/stores/proofHistoryStore.ts index 738de049d..4a79509f0 100644 --- a/app/src/stores/proofHistoryStore.ts +++ b/app/src/stores/proofHistoryStore.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import type { EndpointType } from '@selfxyz/common'; import { WS_DB_RELAYER } from '@selfxyz/common'; diff --git a/app/src/stores/protocolStore.ts b/app/src/stores/protocolStore.ts index 7effb314d..3203aa5fc 100644 --- a/app/src/stores/protocolStore.ts +++ b/app/src/stores/protocolStore.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { API_URL, diff --git a/app/src/stores/selfAppStore.tsx b/app/src/stores/selfAppStore.tsx index 2654c5016..f69475ce4 100644 --- a/app/src/stores/selfAppStore.tsx +++ b/app/src/stores/selfAppStore.tsx @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import type { SelfApp } from '@selfxyz/common'; import { WS_DB_RELAYER } from '@selfxyz/common'; diff --git a/app/src/stores/settingStore.ts b/app/src/stores/settingStore.ts index eab559ede..1cf8cb366 100644 --- a/app/src/stores/settingStore.ts +++ b/app/src/stores/settingStore.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import AsyncStorage from '@react-native-async-storage/async-storage'; import { create } from 'zustand'; diff --git a/app/src/stores/userStore.ts b/app/src/stores/userStore.ts index 1fc92d7e0..8eae32868 100644 --- a/app/src/stores/userStore.ts +++ b/app/src/stores/userStore.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { DEFAULT_DOB, DEFAULT_DOE, DEFAULT_PNUMBER } from '@env'; import { create } from 'zustand'; diff --git a/app/src/types/country-iso-3-to-2.d.ts b/app/src/types/country-iso-3-to-2.d.ts index 6412aba2b..0488a147b 100644 --- a/app/src/types/country-iso-3-to-2.d.ts +++ b/app/src/types/country-iso-3-to-2.d.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 declare module 'country-iso-3-to-2' { function getCountryISO2(iso3: string): string; diff --git a/app/src/types/mnemonic.ts b/app/src/types/mnemonic.ts index 71d36d2d1..d41d399b7 100644 --- a/app/src/types/mnemonic.ts +++ b/app/src/types/mnemonic.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export interface Mnemonic { /** diff --git a/app/src/types/react-native-passport-reader.d.ts b/app/src/types/react-native-passport-reader.d.ts index d6741c430..d2dd6fdc0 100644 --- a/app/src/types/react-native-passport-reader.d.ts +++ b/app/src/types/react-native-passport-reader.d.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 declare module 'react-native-passport-reader' { interface ScanOptions { diff --git a/app/src/utils/analytics.ts b/app/src/utils/analytics.ts index 286e7790b..9621320ce 100644 --- a/app/src/utils/analytics.ts +++ b/app/src/utils/analytics.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { createSegmentClient } from '../Segment'; diff --git a/app/src/utils/cloudBackup/google.ts b/app/src/utils/cloudBackup/google.ts index 238d52ec3..24a6ef8a5 100644 --- a/app/src/utils/cloudBackup/google.ts +++ b/app/src/utils/cloudBackup/google.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { GOOGLE_SIGNIN_WEB_CLIENT_ID } from '@env'; import { diff --git a/app/src/utils/cloudBackup/index.ts b/app/src/utils/cloudBackup/index.ts index 63475a6ac..ede28960a 100644 --- a/app/src/utils/cloudBackup/index.ts +++ b/app/src/utils/cloudBackup/index.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { ethers } from 'ethers'; import { useMemo } from 'react'; diff --git a/app/src/utils/colors.ts b/app/src/utils/colors.ts index f91eba385..e70254665 100644 --- a/app/src/utils/colors.ts +++ b/app/src/utils/colors.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 /// NEW export const amber50 = '#FFFBEB'; diff --git a/app/src/utils/constants.ts b/app/src/utils/constants.ts index b108e33a4..4026e1580 100644 --- a/app/src/utils/constants.ts +++ b/app/src/utils/constants.ts @@ -1,10 +1,3 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const extraYPadding = 15; diff --git a/app/src/utils/deeplinks.ts b/app/src/utils/deeplinks.ts index c961f5ef0..944116eb0 100644 --- a/app/src/utils/deeplinks.ts +++ b/app/src/utils/deeplinks.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import queryString from 'query-string'; import { Linking } from 'react-native'; diff --git a/app/src/utils/ethers.ts b/app/src/utils/ethers.ts index eaf4bae03..e20af75e8 100644 --- a/app/src/utils/ethers.ts +++ b/app/src/utils/ethers.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 // https://docs.ethers.org/v6/cookbook/react-native/ import { ethers } from 'ethers'; diff --git a/app/src/utils/fonts.ts b/app/src/utils/fonts.ts index f8662ab9d..f52421a8b 100644 --- a/app/src/utils/fonts.ts +++ b/app/src/utils/fonts.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const advercase = 'Advercase-Regular'; export const dinot = 'DINOT-Medium'; diff --git a/app/src/utils/haptic.ts b/app/src/utils/haptic.ts index 6b6d05c59..061e09e32 100644 --- a/app/src/utils/haptic.ts +++ b/app/src/utils/haptic.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { Platform, Vibration } from 'react-native'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; diff --git a/app/src/utils/nfcScanner.ts b/app/src/utils/nfcScanner.ts index e069439be..c1ebe8b2b 100644 --- a/app/src/utils/nfcScanner.ts +++ b/app/src/utils/nfcScanner.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 /* eslint-disable @typescript-eslint/no-unused-vars */ import { ENABLE_DEBUG_LOGS, MIXPANEL_NFC_PROJECT_TOKEN } from '@env'; diff --git a/app/src/utils/notifications/notificationService.ts b/app/src/utils/notifications/notificationService.ts index f39be366e..a3837bff1 100644 --- a/app/src/utils/notifications/notificationService.ts +++ b/app/src/utils/notifications/notificationService.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import messaging from '@react-native-firebase/messaging'; import { PermissionsAndroid, Platform } from 'react-native'; diff --git a/app/src/utils/proving/attest.ts b/app/src/utils/proving/attest.ts index 58c6dd7cd..474c2b4ea 100644 --- a/app/src/utils/proving/attest.ts +++ b/app/src/utils/proving/attest.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { X509Certificate } from '@peculiar/x509'; import { PCR0_MANAGER_ADDRESS, RPC_URL } from '@selfxyz/common'; diff --git a/app/src/utils/proving/awsRootPem.ts b/app/src/utils/proving/awsRootPem.ts index 4cc58ca38..f59f4e2a1 100644 --- a/app/src/utils/proving/awsRootPem.ts +++ b/app/src/utils/proving/awsRootPem.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const AWS_ROOT_PEM = ` -----BEGIN CERTIFICATE----- diff --git a/app/src/utils/proving/cose.ts b/app/src/utils/proving/cose.ts index 569511adc..702a3fe1a 100644 --- a/app/src/utils/proving/cose.ts +++ b/app/src/utils/proving/cose.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { decode, encode } from '@stablelib/cbor'; import { Buffer } from 'buffer'; diff --git a/app/src/utils/proving/loadingScreenStateText.ts b/app/src/utils/proving/loadingScreenStateText.ts index c22605a05..56e1b9652 100644 --- a/app/src/utils/proving/loadingScreenStateText.ts +++ b/app/src/utils/proving/loadingScreenStateText.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { ProvingStateType } from './provingMachine'; diff --git a/app/src/utils/proving/provingInputs.ts b/app/src/utils/proving/provingInputs.ts index acad5bd0d..8802969d1 100644 --- a/app/src/utils/proving/provingInputs.ts +++ b/app/src/utils/proving/provingInputs.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { LeanIMT } from '@openpassport/zk-kit-lean-imt'; import { SMT } from '@openpassport/zk-kit-smt'; diff --git a/app/src/utils/proving/provingMachine.ts b/app/src/utils/proving/provingMachine.ts index 247fa7aa4..4e1bcc250 100644 --- a/app/src/utils/proving/provingMachine.ts +++ b/app/src/utils/proving/provingMachine.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { DocumentCategory, diff --git a/app/src/utils/proving/provingUtils.ts b/app/src/utils/proving/provingUtils.ts index d9527b0ad..c5959740d 100644 --- a/app/src/utils/proving/provingUtils.ts +++ b/app/src/utils/proving/provingUtils.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import type { EndpointType } from '@selfxyz/common'; import { diff --git a/app/src/utils/proving/validateDocument.ts b/app/src/utils/proving/validateDocument.ts index 1c7cbb260..88dca3503 100644 --- a/app/src/utils/proving/validateDocument.ts +++ b/app/src/utils/proving/validateDocument.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { LeanIMT } from '@openpassport/zk-kit-lean-imt'; import { diff --git a/app/src/utils/utils.ts b/app/src/utils/utils.ts index a7222ce95..24eb492f7 100644 --- a/app/src/utils/utils.ts +++ b/app/src/utils/utils.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 // Handles both TD1 (3 lines, 30 chars each) and TD3 (2 lines, 44 chars each) formats export function extractMRZInfo(mrzString: string) { diff --git a/app/tamagui.config.ts b/app/tamagui.config.ts index 601c20d1d..a9e7be724 100644 --- a/app/tamagui.config.ts +++ b/app/tamagui.config.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { config } from '@tamagui/config/v3'; import { createTamagui } from 'tamagui'; diff --git a/app/tests/__setup__/@env.js b/app/tests/__setup__/@env.js index a6446ff8b..80989d3dc 100644 --- a/app/tests/__setup__/@env.js +++ b/app/tests/__setup__/@env.js @@ -1,10 +1,3 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 export const IS_TEST_BUILD = 'false'; diff --git a/app/tests/__setup__/notificationServiceMock.js b/app/tests/__setup__/notificationServiceMock.js index 346a2d9ea..fc108254a 100644 --- a/app/tests/__setup__/notificationServiceMock.js +++ b/app/tests/__setup__/notificationServiceMock.js @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 /* global jest */ diff --git a/app/tests/src/hooks/useAesopRedesign.test.ts b/app/tests/src/hooks/useAesopRedesign.test.ts index 04fe5fb96..fa6a8dd6f 100644 --- a/app/tests/src/hooks/useAesopRedesign.test.ts +++ b/app/tests/src/hooks/useAesopRedesign.test.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { renderHook } from '@testing-library/react-native'; diff --git a/app/tests/src/navigation.test.ts b/app/tests/src/navigation.test.ts index 4d2ab0b30..fda845737 100644 --- a/app/tests/src/navigation.test.ts +++ b/app/tests/src/navigation.test.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 describe('navigation', () => { it('should have the correct navigation screens', () => { diff --git a/app/tests/utils/proving/loadingScreenStateText.test.ts b/app/tests/utils/proving/loadingScreenStateText.test.ts index 0c387e8dc..5b87b1b0c 100644 --- a/app/tests/utils/proving/loadingScreenStateText.test.ts +++ b/app/tests/utils/proving/loadingScreenStateText.test.ts @@ -1,11 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 -// Copyright (c) 2025 Social Connect Labs, Inc. -// -// This file is licensed under the Business Source License 1.1 (BUSL-1.1). -// -// Use of this software is governed by the Business Source License included in the LICENSE file. -// -// As of 2029-06-11, this file will be governed by the Apache License, Version 2.0. +// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11 import { getLoadingScreenText,