Drop iOS Application Integrated with Firebase#5
Conversation
- Added NSObject import from platform.darwin for iOS protocol implementations - Fixed NSMutableData initialization for receive file buffer - Added ExperimentalForeignApi opt-in annotations - Fixed UInt/ULong type conversions in use cases - Configured proper iosMain source set hierarchy in build.gradle.kts - Added Java 17 configuration for Xcode builds - Linked SystemConfiguration framework for network monitoring - Implemented ArkDrop bridge wrapper for iOS - Added send/receive file implementations for iOS - Configured cinterop for Objective-C bridge
- Add .github/workflows/release-ios.yml (Testflight, same secrets as Rate-iOS) - Add fastlane Fastfile, Appfile, Gemfile - Add shared iosApp.xcscheme - Update bundle ID to com.arkbuilders.Drop (from deprecated Drop-iOS) - Update Release config: Team SQNXHTL7FT, manual signing Co-authored-by: Cursor <cursoragent@cursor.com>
…ties Gradle will use JAVA_HOME from environment (set by GitHub Actions) Co-authored-by: Cursor <cursoragent@cursor.com>
- Config.xcconfig: use // instead of # for comment (fix preprocessor directive error) - Add copyFrameworkForXcode Gradle task to copy XCFramework to path Xcode expects - Add Gradle pre-build step in workflow before Xcode build Co-authored-by: Cursor <cursoragent@cursor.com>
Replace custom task with Copy task to avoid project ref at execution time Co-authored-by: Cursor <cursoragent@cursor.com>
- Match provisioning profile (Drop-AppStore) - Add XCFramework-Info.plist template for when Kotlin doesn't create it Co-authored-by: Cursor <cursoragent@cursor.com>
Fixes ios-arm64/Shared.framework not found - Gradle Copy was not copying nested dirs Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ion ARK-Builders#10 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
bbd25fb to
0f3433d
Compare
0f3433d to
2a09e34
Compare
|
I tested iOS app. Logs might be useful. Receiving files works as expected, but sending files causes crash: It’s strange that I don’t get the same issue on Android. I asked ChatGPT: The problem is that on Android the Tokio runtime context probably exists either accidentally or because of the current architecture. On iOS, because of the Obj-C -> Kotlin -> Swift callback chain, Rust may be called from a thread without a Tokio reactor. It looks like the issue may be caused by switching threads due to the language bridge or Kotlin coroutines. |
Branched off from the last commit of #4 (ef81c65)
Integrates Firebase Analytics and Crashlytics.
Cover the whole Send Files and Receive Files use cases with Firebase Crashlytics logs