ismailgulek 232430ac95
Image viewer (#338)
* Resume other app's music when video playback finished

* Remove old media player

* Add `isModallyPresented` into the video player screen

* Create image viewer screen

* Add test screen identifier

* Display image viewer when message tapped

* Fix template script unit test path

* Tweaks on scaling

* Commit project file

* Add changelog

* Ignore safe areas on the file preview screen

* Display images in preview

* Remove image viewer screen

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2022-11-28 11:19:40 +00:00
..
2022-11-28 11:19:40 +00:00
2022-04-13 13:57:27 +03:00
2022-11-15 11:49:13 +02:00

Scripts

Iconizer

Generates all app icon variants from one single .pdf file.

Usage:

sh iconizer.sh ../ElementX/Supporting\ Files/AppIcon.pdf ../ElementX/Supporting\ Files

Localizer

Generates all app localization files and imports them to the project, by downloading strings from element-android and converting them to strings and stringsdict files.

Usage:

./localizer.py

Boot Test Simulator

Boots a desired simulator and makes status bar overrides on that.

Usage:

./bootTestSimulator.py 'iPhone 13 Pro Max'

Create screen templates

New screen flows are currently using the MVVM-Coordinator pattern. Run Tools/Scripts/createScreen.sh to create a new screen and all its required dependencies.

Usage:

./createScreen.sh Folder MyScreenName

After that run xcodegen to regenerate the project.

createScreen.sh script will create:

  • Folder within the /ElementX/Sources/Screens/. Files inside will be named MyScreenNameXxx.
  • MyScreenNameScreenUITests.swift within UITests/Sources
  • MyScreenNameViewModelTests.swift within UnitTests/Sources/Unit