I am developing an app for tablets (android and iOS), I am looking for some kind of settings in mobile-config that disable landscape orientation. I know how to do that on iOS by changing some settings on XCode but is their any setting that can do it for both android and iOS.
This only works for android not iOS device
App.setPreference('Orientation', 'landscape');
Also is it possible to deploy a meteor app just for ipad, i mean now you if deploy it with below command it make it for any ios device. Can i be specific so that it makes only for ipads
meteor deploy your-desired-app-hostname.meteor.com
meteor build ~/build-output-directory \
--server=your-desired-app-hostname.meteor.com
After searching on the topic i came to conclusion that its an open bug and only way to prevent portrait mode on apple's ipad is by manually editing the settings through XCode.
You can check out but here
Related
I managed to create a custom pwa install button in html javascript that works well on an android only based on this documentation:
Android Pwa
My current problem is getting it to work on safari ios and chrome for ios.
I have read from my research that browsers like safari do not support pwa installs.
I would now like to ask if there is at this time an alternative to create a custom "Install ios app" button in my PWA. Thank you for your propositions.
I have made a simplest sencha touch app and package that with Cordova 5.4.0. All is well on Android and on iOS. BUT it got stucks/hangs on splash screen on Windows 8.1 mobile phone.
I am using Windows 8.1, Windows phone 8.1 and Visual Studio Express 2013 Update 5.
A simple cordova app run well, But Sencha Touch app not opening.
The issue is that Windows 8.1 mobile browser is detected as both IE and Chrome, which means that certain objects are not initialized, but expected to be available.
The initialize code goes like this:
if(Ext.isIE) ...
else if (Ext.isChrome) ...
and the code that requires the object goes like this:
if(Ext.isChrome) ...
This code only works until a browser is detected as both IE and Chrome.
To check whether you are affected by exactly this, please do the following:
Open the sencha touch app in IE11.
Open the developer tab.
Switch "Profile" to "Mobile and "User Agent" to "IE 11 Mobile / Windows 8.1"
Your app should reload into failure.
When trying exactly this with official Kitchen Sink, you will find that this is a problem of the Sencha Touch framework. I have already filed two bug reports to that regard, but they are ignored by Sencha, so please don't expect anything from them.
I've built iOS and Android versions of the PhoneRTC project. 1 Android device (KitKat 4.4) and 1 iOS device (iphone 4, iOS 7.1). Both connected to private lan 192.168.1.x. Also, tried TURN server and confirmed successful TURN server messages in server log.
After fixing Swift compile errors on iOS (NSURL and Regex). All compiles and seems to work without throwing errors. Here's my problem and humbly ask for someone's help.
Audio comes through Android just fine, sounds great. So, iOS microphone records/sends audio successfully to Android and is rendered to Android speaker.
Android permission for the microphone is enabled, however the sounds does not arrive on the iOS side. Nothing is heard on the speaker.
Am I missing something here?
Update: I've confirmed that it is the Android library not sending the microphone audio. iOS to browser works fine. Will add issue to Github.
Cheers.
Rich
The issue was fixed in this commit:
https://github.com/alongubkin/phonertc/commit/8bf270014cdfe6acc6d2cb9aeee624c2d9e39536
I want to test some responsive web pages using touch events on IOS simulator, is that possible ? If yes how can i do it ?
Any recommendations are the most welcomed.
I would recommend using Mamp to set up a webserver on your local box. Then in the IOS simulator point safari to the local server.
Hello
I am trying to do a javascript function compatible on android and ipad, but i notice that android doesnt support ongesture** events?
1.It's really true?
.ongesturestart=function(e){
.ongesturechange=function(e){
.ongestureend=function(e){
2.Since I cant buy niether an Android system nor a Ipad, is there any Android/Ipad simulator for pc/windows/linux around the web? I need them for developenig and simulating web application based on touch/gestures events.
3.Is there possible that google hasnt develop chrome for android platform? and firefox for android/Ipad?
Thanks
1) These are new events added to iOS's version of WebKit. They haven't yet propagated to Android.
2) There is an Android simulator as part of the Android SDK. The iPad simulator is Mac only. But neither will tell you the true performance of your code--you need a device to accurately test your work.
3) Chrome is a desktop browser; Android's built-in browser is roughly equivalent. Firefox is a third-party browser and Google is not responsible for developing it. The very first hit for the Google search "firefox android", however, is a link to a Firefox Android beta. Search engines are your friends.