github personalizedrefrigerator/joplin testing--slider-props
Testing: Slider options

latest releases: prerelease-7, testing--slider-crash-fix, testing--slider-logs...
pre-release9 months ago

Important

This release is intended to help debug laurent22#7974. It is not a mobile-plugin-support or other feature pre-release.

This testing release adds toggles that allow enabling/disabling different properties fo sliders in Joplin's settings. The goal is to determine which props (if any) can be removed to fix the crash.

Building this release

Here's how you can build this release yourself.

Cloning the repository

  1. Clone git@github.com:personalizedrefrigerator/joplin.git
  2. Switch to the test/slider-props branch
    • In the joplin folder, run git switch test/slider-props

Installing dependencies

  1. Install dependencies by running yarn install (see build instructions)
  2. Install Android Studio (https://developer.android.com/studio)

See also Joplin's build instructions.

[!NOTE]

If you have an existing build folder, it may be necessary to run yarn tsc && yarn postinstall to trigger a full build.

Building it (may have been done by yarn install)

  1. Run yarn tsc in the root directory of the repository.
  2. Run yarn build in the packages/app-mobile directory.

Building the Android APK with a custom package name

  1. Open packages/app-mobile/android in Android Studio.
  2. Switch to the "project files" view in the "project" explorer (in Android Studio).
  3. Expand the app, src, main, java, net, and cozic folders (in that order).
  4. Wait for the project to finish syncing.
  5. Right-click on the 'cozic' folder and select 'refactor', then 'rename'
  6. Re-name to some identifying package name (I chose 'personalizedrefrigerator'). Be sure to check "search in comments and strings" and click "do refactor"!
  7. Ctrl+Shift+F search for any remaining "cozic" strings and replace them with the custom package name.
  8. In packages/app-mobile/android/app/src/main/res/values/strings.xml, change <string name="app_name">Joplin</string> to a custom app name (for this release, I used <string name="app_name">Joplin (Beta)</string>.
  9. Run Build > Generate Signed Bundle/APK (you may need to create a custom key to sign the release).
  10. After the build finishes, the APK should be in packages/app-mobile/android/app/release/app-release.apk.

Screenshot

Don't miss a new joplin release

NewReleases is sending notifications on new releases.