hapjs-platform / hapjs Goto Github PK
View Code? Open in Web Editor NEW快应用标准框架实现,支持快应用的加载、运行、渲染,提供必要API的支持
License: Apache License 2.0
快应用标准框架实现,支持快应用的加载、运行、渲染,提供必要API的支持
License: Apache License 2.0
如题
所以快应用可以打包成apk了?我改了大半年的快应用预览版的包了,直接反编译改成自己的apk的,小米平台说套壳不给通过,华为的过了,那是不是意味着可以像uniapp的离线sdk那样用?画ui用快应用写,然后扩展用原生,我没具体看这个项目,光看md介绍挺激动的。
用iterator遍历map时调用Map.remove, 会并发异常
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewParent android.view.View.getParent()' on a null object referenceat org.hapjs.component.utils.FullscreenHelper.exitFullScreenImp()(SourceFile:223)at
定位到代码:mComponent.getHostView().getParent() 有空指针getHostView()问题
在clipboard申请权限时,activity反复从前台进入后台有可能会导致ANR。
主要原因:
1、clipboard 在主线程中去获取Semaphore;
2、在showPermissionPrompt中由于activity.isFinishing()一直为false导致Semaphore未被释放。
Android 10 夜间模式下,Image 默认会增加50%透明度的蒙版。
现增加 handleImageForceDark 接口支持对图片展示进行自定义处理。
1、添加provider便于对文字大小进行自定义的调整;
2、发现了快应用tab-bar的高度计算BUG;
tab-bar使用了material库1.0.0的TabLayout进行实现,在未设置高度的情况下,TabLayout测量的高度比子view高度小,可以观察到子view被TabLayout裁切。
问题现象:花样短视频在Android5的机型上(其余Android版本无问题)(首次下载安装使用),灭屏后可以继续播放(必现)
问题原因:
在Android 5的机型上,View.dispatchAttachedToWindow() 中没有 onVisibilityChanged(this, visibility)回调,
导致 HybridManager.onVisibilityChanged() 中的逻辑不会被走到,从而缺少了一次 onStart() ,onResume() ,
最终 HybridManager.onPause() 中的逻辑被 !mResumed 挡掉,使得各个 LifecycleListener.onPause()没有被触发,从而出现问题中的现象。
Android 10 夜间模式下,Image 默认会增加50%透明度的蒙版。
现增加 handleImageForceDark 接口支持对图片展示进行自定义处理。
在rpk更新过程中,如果已经删除旧版本manifest,而尚未下载完成新版本manifest,就可能获取AppInfo就会获取到老版本。
(ps:前提是内存中mAppInfo有值)
目的是便于继承定制picker的行为
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.