问题标签 [steroids]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - div 从右侧进入视口,尽管它被放置在 android 的左侧
我正在为 iOS 和 Android 制作一个带有 appgyver 类固醇的应用程序,我发现了这个奇怪的错误。尽管 div 完全位于视口的左侧,但它在 android 上从右侧进入视口,在 iOS 上它的行为与预期一样。
css
}
javascript
node.js - 为什么 npm 给出 500 和 503 错误:“registry error parsing json”?
尝试做npm install steroids -g
并遇到两种类型的大量错误:
第一:500
当我在浏览器中访问这些网址时,我收到以下消息:
内部路由错误
抱歉,我们无法连接到预期的服务器。
我们刚刚收到有关此问题的通知。我们会尽快更正。
如果您有任何问题,请随时联系我们:support@iriscouch.com
第二:503
当我在浏览器中访问这些网址时,我收到以下消息:
错误 503 后端读取错误
后端读取错误
上师冥想:
西号:1448084160
优化缓存服务器
这是否意味着 npm 注册表已关闭?还是我的机器上有奇怪的行为?
运行节点 v.0.10.24 & npm v.1.3.21
ios - Steroids.js/PhoneGap facebook 登录错误 ios
我是 Steroids.js 和 PhoneGap 的新手。我正在尝试创建需要 Facebook 登录的应用程序。所以当我试图让 Facebook 插件工作时,问题就开始了。
我的设置:“steroids-js”:“3.1.x”
我已遵循本指南 - http://guides.appgyver.com/steroids/guides/phonegap_on_steroids/facebook-connect-plugin/
我已经创建了带有 Facebook 插件的扫描仪应用程序。
在我的 iphone 中下载了自定义创建的扫描仪应用程序并尝试扫描我的应用程序的条形码,这需要 Facebook 登录,但它在应用程序午餐时显示我和错误:
我的 index.html 文件:
我的 application.js 文件:
我用于扫描仪的 steroids.js 云设置:
我的 Facebook 应用程序设置:
ios - phonegap cordova API window.requestFileSystem() LocalFileSystem.PERSISTENT
我正在使用 appgyver 类固醇(phonegap)并尝试将照片从相机 API 保存到应用程序文件空间,以便在我重新扫描/重新加载应用程序时不会将其删除。我正在关注cordova api docs(http://docs.phonegap.com/en/1.5.0/phonegap_file_file.md.html#FileSystem)中的示例,但我从未收到过回复
window.requestileSystem(LocalFileSystem.PERSISTENT, ...)
承诺永远不会被解决/拒绝。我究竟做错了什么?
我从来没有到达#4,承诺永远不会解决。
javascript - AngularJS 发布请求未正确获得服务器响应
我正在使用 AppGyver Steroids 和 AngularJS 开发一个混合移动应用程序。在这个移动应用程序中,我需要使用我开发的另一个项目的 RESTful API;这是我从移动应用程序发送的示例请求:
这个请求很好地到达了服务器,并生成了一个状态码为 200 的有效响应......至少在我检查服务器日志时是这种情况。移动应用程序显示一个消息框,显示“身份验证失败。(404)' 这与服务器日志中的说明相矛盾。
编辑:我还开发了一个使用这些 API 的原生 iOS 应用程序,它可以正常工作。
cordova - appgyver 导航栏图片
我一直在查看 appggyver 文档并注意到您只能在 IOS 中设置标题栏或导航栏图像。
我可能看错了部分,因为我对 appgyver 不是很熟悉,但我想更清楚地了解 android 和 IOS 的可能性。
我目前有一个应用程序需要本机标头包含图像,但是从阅读文档来看,这仅在 IOS 中受支持?我想知道这在 IOS 和 Android 中是否可能,如果在 Android 中不可能,是否有原因?
谢谢!
mobile - phonegap-appgyver 移动应用程序 - 从外部重定向回应用程序?
我正在玩 Appgyver - Steroids 应用程序,我认为在问题的上下文中与 Phonegap 没有什么不同。
是否有可能访问执行重定向回应用程序的外部 url?
喜欢
cordova - Appgyver Steroids splashscreen linger duration
Before I knew the existence of AppGyver Steroids, I was building an app with PhoneGap, everything was going on smoothly. Recently, I tried to use AppGyver Steroids to build my app, so I ported the project from PhoneGap to Steroids following the official guide found on the web. I could successfully debug my app on my MacBook afterwards, no problems at all.
I have created an app with AppGyver Steroids that shows a Microsoft Bing Map with several hundred pushpins attached. When I wanted to test it on my Samsung Galaxy S2, I deployed it to the cloud and built the apk file with the Ad Hoc version. Most of the build settings are left as default.
Later, when I install it on my device and run it, the default "AppGyver" splashscreen lingered for around 15 seconds or longer before the Bing Map showed up.
I would like to know:
- if there are any ways to adjust the duration of showing the splashscreen
- the reason of such a long loading time if this is not a "setting-related" issue
angularjs - AppGyver 和 AngularJS $http.get 失败,状态码为 0
最近我开始尝试使用 AppGyver 和 AngularJS 的应用程序。如http://academy.appgyver.com/courses/15/lessons/35所述,我添加了角度资源(ng-resource)。我尝试使用 $http.get 从返回错误消息为空白和状态为 0 的 url 获取数据。使用 XMLHttpRequest 正确获取数据但不使用 $http。
任何人都可以对这个问题有所了解或将我指向一个利用此行为的示例应用程序。