iOS 国际化
iOS 国际化
App Name
Roll back those changes, add a InfoPlist.strings file to your project, localize it and then add the needed keys to it. For example:
“CFBundleDisplayName” = “App display name”;
“CFBundleName” = “App bundle name”;
To localized Info.plist :
Find in the x-code the folder Resources (is placed in root)
Select the folder Resources...
Android CPU架构
Android CPU架构
ARM架构:
32 位:lib/armeabi-v7a、lib/armeabi
64 位:lib/arm64-v8a
x86架构:
32 :lib/x86
64 :lib/x86_64
Reference
Uniapp view
Uniapp modal
modal
const modal = uni.requireNativePlugin('modal');
modal.toast({
message: ret,
duration: 1.5
});
Reference
Android adb tools
Android adb tools
adb shell uiautomator events
09-10 13:07:03.197 EventType: TYPE_NOTIFICATION_STATE_CHANGED; EventTime: 17852937; PackageName: uni.UNI7BA110F; MovementGranularity: 0; Action: 0; ContentChangeTypes: []; WindowChangeTypes: [] [ ClassName: android.widget.Toast; Text: [应用的uni-AD业务状态异常(-9001),请登录https://uniad.dcloud.net.cn处理]; Cont...
Uniapp 原生插件开发
Uniapp 原生插件开发
插件有两种类型
Activity的获取方式。通过mUniSDKInstance.getContext()强转Activity。建议先instanceof Activity判断一下再强转
.vue暂时只能使用module形式。component还不支持在.vue下使用
component、module的生命周回调,暂时只支持onActivityDestroy 、onActivityPause、onActivityResult其他暂时不支持
module 没有界面, 支持vue和nvue
component native控件, 支持nvue
使用uni原生插件必须先提交云端打包才能生效,购买插件后在应用的man...
463 post articles, 58 pages.