From 7e5fe64153304ed16afb4085c9d85ff20fd321e6 Mon Sep 17 00:00:00 2001 From: June P Date: Tue, 30 Jan 2024 10:04:33 +0900 Subject: [PATCH] feat(launch):add analytics notice --- AltStore/LaunchViewController.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AltStore/LaunchViewController.swift b/AltStore/LaunchViewController.swift index fde8e34e..404e366b 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -101,6 +101,13 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg // Present Alert to self.present(dialogMessage, animated: true, completion: nil) + let dialogMessage = UIAlertController(title: "Analytics", message: "This app contains anonymous analytics for research and project development. By continuing to use this app, you are consenting to this data collection", preferredStyle: .alert) + + let ok = UIAlertAction(title: "OK", style: .default, handler: { (action) -> Void in}) + + dialogMessage.addAction(ok) + self.present(dialogMessage, animated: true, completion: nil) + return nil } }