Files
Openlib/ios/Runner/AppDelegate.swift
Anshul Saxena 18723e1d78 Added book title and thumbnail sharing feature with image download and preview support (#126)
* Added Share button with minimal functionality at this moment.

* Feature: Add functionality to share book title with thumbnail

- Download image from URL and save it to a temporary directory.
- Share the book title along with the thumbnail using `Share.shareXFiles`.
- Improved sharing experience by combining text and image in a single share intent.
2024-10-25 18:25:02 +05:30

14 lines
391 B
Swift

import UIKit
import Flutter
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}