import { ConfigPlugin } from 'expo/config-plugins'; /** * 高德地图插件配置类型 */ export type GaodeMapPluginProps = { /** iOS 平台 API Key */ iosKey?: string; /** Android 平台 API Key */ androidKey?: string; /** 是否启用定位功能 */ enableLocation?: boolean; /** iOS 定位权限描述 */ locationDescription?: string; /** 是否启用后台定位(Android & iOS) */ enableBackgroundLocation?: boolean; /** * 自定义高德地图 SDK 路径(例如 Google Play 版本) * 相对于项目根目录的路径,例如 "./libs/AMap_3DMap_V9.0.0_GooglePlay.aar" */ customMapSdkPath?: string; }; /** * 导出为可运行一次的插件 * 这确保插件只会运行一次,即使在配置中被多次引用 */ declare const _default: ConfigPlugin; export default _default;