如何在不进入设备设置页面的情况下在应用程序中自动启用位置

How to enable Location automatically within app without going to device settings page

如何在不导航到设备设置页面的情况下在应用程序中自动启用位置

如果没有任何外部模块或 Hyperloop,您无法使用当前 SDK 执行此操作。您可以在 http://gitt.io/ or https://marketplace.appcelerator.com/home 搜索,但我认为没有可用的模块。你必须自己创建一个(或者再次尝试使用 hyperloop)