HarmonyOS 应用不支持其他应用唤起,是不是exported调试的时候设置为true,打正式包的时候设置成false?

HarmonyOS
2024-12-23 13:57:00
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
FengTianYa

您的应用不能被其他应用唤起,可能是代码或者其他问题:

关于exported的解释如下:

"exported": {
  "description": "Specifies whether the ability can be called by other applications.The \"true\" indicates the ability can be called by other applications.The \"false\" indicates the ability cannot be called by other applications.This tag is optional. The default value is false.",
  "type": "boolean",
  "default": false
},

如果您的应用需要被其他应用唤起,这边的设置需要设置为true.

分享
微博
QQ
微信
回复
2024-12-23 16:22:15
相关问题
XComponent 怎么设置成透明
2757浏览 • 1回复 待解决
HarmonyOS imagePacker不支持编码jpg格式
1192浏览 • 1回复 待解决
如何将AbilityUI界面设置成透明
2970浏览 • 1回复 待解决
Refresh组件不支持设置nestedScroll属性
2999浏览 • 1回复 待解决
HarmonyOS 子窗口要如何设置成横屏
1926浏览 • 1回复 待解决