You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
dima-avdeev-jb db07c172c5
update exprimental doc
3 years ago
..
gradle/wrapper update experimental samples compose (1.2.0-alpha01-dev675) and kotlin version (1.6.21) (#2047) 3 years ago
src Fixed slider-drag problem in [falling-balls-mpp] example. (#1750) 3 years ago
.gitignore iOS gradle: create task to deploy on connected iOS device (#1944) 3 years ago
README.md update exprimental doc 3 years ago
apple-id.png iOS gradle: create task to deploy on connected iOS device (#1944) 3 years ago
build.gradle.kts update experimental samples compose (1.2.0-alpha01-dev675) and kotlin version (1.6.21) (#2047) 3 years ago
gradle.properties update experimental samples compose (1.2.0-alpha01-dev675) and kotlin version (1.6.21) (#2047) 3 years ago
gradlew Move few MPP examples to experimental for now (#1739) 3 years ago
ios-app.png iOS gradle: create task to deploy on connected iOS device (#1944) 3 years ago
settings.gradle.kts Update examples (#1740) 3 years ago

README.md

Run native on MacOS

./gradlew runDebugExecutableMacosX64 (Works on Intel processors)

Run web assembly in browser

./gradlew jsBrowserDevelopmentRun

Run on iOS simulator

./gradlew iosDeployIPhone8Debug ./gradlew iosDeployIPadDebug

Prepare Xcode to launch on iOS device

  1. Add your Apple ID.
    Xcode -> Preferences... -> Accounts
    apple-id.png

  2. Create certificates with XCode in temporary project.
    You can create a certificate in Xcode. Create a new iOS app in Xcode.
    File -> New -> Project
    Choose iOS, App:
    ios-app.png

  3. In next dialog set any product name and choose your teamID.

  4. Run project on iOS Device.
    Xcode prompts you to install the certificate. Require password from login.keychain

  5. Done After a successful launch on the device - you can delete this temporary project.
    Certificates will remain in login.keychain

Run on iOS device

  • set teamId in local.properties
  • In build.gradle.kts
    add block connectedDevice("Device") { } to compose.experimental.uikit.application.deployConfigurations
  • ./gradlew iosDeployDeviceRelease
  • During the build, you will be prompted to access login.keychain