File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = 'Airborne'
3- s . version = '0.0.3 '
3+ s . version = '0.0.4 '
44 s . summary = 'An OTA update plugin for Android, iOS and React Native applications.'
55 s . description = <<-DESC
66Hyper OTA empowers developers to effortlessly integrate Over-The-Air (OTA) update capabilities into their Android, iOS, and React Native applications.
Original file line number Diff line number Diff line change @@ -60,12 +60,15 @@ import Foundation
6060 *
6161 * This callback indicates that the application is ready to load the packages & resources
6262 *
63+ * @param indexBundlePath The file system path to the index bundle file that should
64+ * be used as the entry point for the downloaded content.
65+ *
6366 * @note This method is called on a background queue. Dispatch UI updates
6467 * to the main queue if needed.
6568 * @note Boot completion occurs even if some downloads failed or timed out.
6669 * Check the release configuration for actual status.
6770 */
68- @objc optional func onBootComplete( ) -> Void
71+ @objc optional func onBootComplete( indexBundlePath : String ) -> Void
6972
7073 /**
7174 * Called when significant events occur during the OTA update process.
@@ -155,7 +158,9 @@ import Foundation
155158 private func startApplicationManager( ) {
156159 self . applicationManager = HPJPApplicationManager . getSharedInstance ( withWorkspace: self . namespace, delegate: self , logger: self )
157160 self . applicationManager? . waitForPackagesAndResources { [ weak self] _ in
158- self ? . delegate? . onBootComplete ? ( )
161+ if let indexBundlePath = self ? . getIndexBundlePath ( ) {
162+ self ? . delegate? . onBootComplete ? ( indexBundlePath: indexBundlePath)
163+ }
159164 }
160165 }
161166}
You can’t perform that action at this time.
0 commit comments