如何正确拦截maps.app.goo.gl意图?

问题描述

我正在尝试拦截Google Maps链接,以便可以使用共享的地点坐标,但是我没有任何运气,这是清单文件的相关部分(在检查Google Maps和播放服务apk清单后制成)

            <intent-filter>
            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.broWSABLE"/>
            <data android:scheme="https"/>
            <data android:scheme="http"/>
            <data android:host="*.app.goo.gl"/>
            <data android:pathPrefix="/" />
        </intent-filter>

此特定的网址/主机是否已被操作系统否决,或仅可通过Google Maps应用程序打开? 即:当打开诸如https://maps.app.goo.gl/kYfCkjtzwvUUo5Sy5之类的链接时,它会始终启动Google地图应用。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)