rn-project
Version:
#### 项目介绍 类似一个脚手架的工具 此项目致力于构建一套基础,简单,可维护的 适配我司的react-native项目。可在此基础上搭建项目,封装了基础架构,基础组件,以及各种交互等;可快速进行项目搭建,开发。 # 涉及主要技术 - 1. 项目主要架构 * react native * react-navigation * redux
54 lines (52 loc) • 2.44 kB
text/xml
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
>
<PreferenceCategory
android:key="catalyst_perf"
android:title="Performance"
>
<CheckBoxPreference
android:key="js_dev_mode_debug"
android:title="JS Dev Mode"
android:summary="Load JavaScript bundle with __DEV__ = true for easier debugging. Disable for performance testing. Reload for the change to take effect."
android:defaultValue="true"
/>
<CheckBoxPreference
android:key="js_minify_debug"
android:title="JS Minify"
android:summary="Load JavaScript bundle with minify=true for debugging minification issues."
android:defaultValue="false"
/>
<CheckBoxPreference
android:key="animations_debug"
android:title="Animations FPS Summaries"
android:summary="At the end of animations, Toasts and logs to logcat debug information about the FPS during that transition. Currently only supported for transitions (animated navigations)."
android:defaultValue="false"
/>
</PreferenceCategory>
<PreferenceCategory
android:key="pref_key_catalyst_debug"
android:title="Debugging"
>
<EditTextPreference
android:key="debug_http_host"
android:title="Debug server host & port for device"
android:summary="Debug server host & port for downloading JS bundle or communicating with JS debugger. With this setting empty launcher should work fine when running on emulator (or genymotion) and connection to debug server running on emulator's host."
android:defaultValue=""
/>
<CheckBoxPreference
android:key="start_sampling_profiler_on_init"
android:title="Start Sampling Profiler on init"
android:summary="If true the Sampling Profiler will start on initialization of JS. Useful for profiling startup of the app. Reload JS after setting."
android:defaultValue="false"
/>
<EditTextPreference
android:key="sampling_profiler_sample_interval"
android:title="Sample interval for Sampling Profiler"
android:summary="Sample interval in microseconds for the Sampling Profiler (default: 1000). Reload JS after setting."
android:defaultValue="1000"
android:inputType="number"
/>
</PreferenceCategory>
</PreferenceScreen>