cordova

Webview Landscape

你说的曾经没有我的故事 提交于 2020-02-02 08:38:54
问题 I'm trying to figure out a way to make it so that my ios webview is in landscape mode while the rest of my app is in portrait. Does anyone know if this is possible? I have a video section that I link out to vimeo. The vimeo video player is brought up in webview which is the portion I would like in landscape. 回答1: you must do it programatically in the shouldAutorotateToInterfaceOrientation webview.transform=CGAffineTransformMakeRotation(M_PI/2); 来源: https://stackoverflow.com/questions/9982518

Error while adding cordova platform ios

非 Y 不嫁゛ 提交于 2020-02-02 08:01:05
问题 I update my Cordova version 3.6.0 to 4.0.0, Which is latest one on today's date. It allow to add me android platform but while going to add iOS platform it gives following error. Unable to fetch platform ios: Error: No compatible version found: cordova-ios@'>=8458588.0.0-0 <8458589.0.0-0' Valid install targets: ["3.5.0","3.6.0","3.6.1","3.6.3"] I have Xcode6 install on my system. But I can't figure out the problem. 回答1: I solved this problem by reinstalling Cordova using this command $ sudo

Cordova, iOS and iframe won't load content unless I allow-access href=“*”

£可爱£侵袭症+ 提交于 2020-02-02 04:17:20
问题 I have a web app, which has an embedded map field, which is implemented using an iframe to https://maps.google.com/... I am porting our app (which runs as a home screen icon currently) to Cordova on iOS, so adding a Cordova wrapper. We already run the app via Cordova on Android. I have a div , with a child element <iframe src="https://maps.google.com/?iwloc=&output=embed&q=something"></iframe> Initially, when the Cordova project was concerned only with Android, I had in config.xml <access

Gradle sync failed: Cause: compileSdkVersion is not specified

岁酱吖の 提交于 2020-02-02 02:53:06
问题 I am trying to test my ionic app in android studio. It is throwing the below error. Gradle sync failed: Cause: compileSdkVersion is not specified. Any solution for this ? What am I doing wrong. Here is my build.gradle file apply plugin: 'com.android.application' buildscript { repositories { mavenCentral() jcenter() maven { url "https://maven.google.com" } } dependencies { classpath 'com.android.tools.build:gradle:3.0.0' } } // Allow plugins to declare Maven dependencies via build-extras

Phonegap - Missing App Store Icon 1024x1024px App Store Icon

痞子三分冷 提交于 2020-02-01 17:46:47
问题 This is for PhoneGap. When submitting the .ipa with ApplicationLoader I'm getting this error: WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information." I use Phonegap's online build tool at https

Phonegap - Missing App Store Icon 1024x1024px App Store Icon

纵然是瞬间 提交于 2020-02-01 17:43:12
问题 This is for PhoneGap. When submitting the .ipa with ApplicationLoader I'm getting this error: WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information." I use Phonegap's online build tool at https

Is it better to start with Sencha Touch 2, or Sencha Touch 1.x?

拈花ヽ惹草 提交于 2020-02-01 04:35:48
问题 I've recently built a demo application using PhoneGap, and I chose to try JQuery Mobile as a UI framework. It was... okay. I'd like to try out Sencha Touch now and see if I like it better. As of now (mid-December '11), it appears that Sencha Touch 2 has been released as a preview, and has significant improvements in performance (which is a key ingredient for me). However, it's missing some features, and doesn't seem to have many demos / tutorials yet on the Sencha website. In the valuable

HybridApp环境搭建(cordova)

前提是你 提交于 2020-01-31 23:42:52
HybridApp环境搭建 文章目录 HybridApp环境搭建 准备 cordova Java环境 android环境 gradle环境 构建项目 准备 cordova java环境 android 环境 gradle环境 构建项目,解决问题 cordova 有 npm 的话只需执行下面这条命令即可,如果没有npm去官网下载即可 npm install -g cordova 我用的版本是9.0.0 Java环境 在这里插入代码片java环境用的是java1.8版本的jdk,在网上下载即可,也可在官网下载最新的jdk 配置到环境变量里,根据自己安装的路径配置 我这里的是 JAVA_HOME = C:\Program Files\Java\jdk1.8.0_181 然后在path里添加%JAVA_HOME%\bin 打开cmd,输入java -version,如果出现版本就是配置成功了 android环境 下载android studio,让软件来帮我们下载环境 cordova打包需要安装gradle 需添加两个环境变量,还是根据你的位置来决定,这里是我配置的 ANDROID_HOME="C:\Users\你的用户名\AppData\Local\Android\Sdk" ANDROID_SDK_ROOT="C:\Users\你的用户名\AppData\Local\Android

PhoneGap 3.0.0 Locking orientation [duplicate]

℡╲_俬逩灬. 提交于 2020-01-31 19:35:25
问题 This question already has answers here : PhoneGap - Forcing Landscape orientation (5 answers) Closed 4 years ago . I am working on a game in PhoneGap. My game needs the screen to be "locked" into landscape mode. I need it to be locked so that you can't turn the device into the other landscape mode, rotating the screen (so, no matter which way the device is rotated, the screen will not change orientations. It will stay the same way as it was before). I have tried looking at this question, but

Xcode couldn't find any provisioning profiles matching

浪子不回头ぞ 提交于 2020-01-31 07:08:05
问题 I am trying to rebuild an ios app, that previously had no issues (first rebuild in 6 months or so). Environment is OSX 10.13.5 with all the latest updates, Xcode 9.4.1, Ionic is 3.20.0. Local cordova, ionic and node modules have been updated. These plugins: cordova-plugin-device cordova-plugin-file cordova-plugin-file-transfer cordova-plugin-splashscreen cordova-plugin-whitelist cordova-plugin-x-socialsharing Configured for manual signing. Provisioning profiles have been regenerated, with new