From 9ca3d440f98ed6de9e5ca54137fbf0d5294ba9b1 Mon Sep 17 00:00:00 2001 From: Henning Hall Date: Sun, 28 Jul 2019 11:13:45 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a5caea4..67858ab 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,14 @@ The order is determined by the `locale` prop. Set for instance `locale='fr'`to g ### How do i change the 12/24h or AM/PM format? On iOS the 12/24h preference is determined by the `locale` prop. Set for instance `locale='fr'`to get the France preference. On Android the 12/24h format is determined by the device setting. When using 12h mode the AM/PM part of the picker will be displayed. +### Why is the Android app crashing in production? +If you have enabled Proguard for Android you might need to ignore some classes to get the the picker to work propery in android production/release mode. Add these lines to you proguard file (often called `proguard-rules.pro`): +``` +-keep public class net.time4j.android.ApplicationStarter +-keep public class net.time4j.PrettyTime +``` + + ## Roadmap - [x] Mode: datetime - [x] Mode: date