cordova
Get location in Ionic/Cordova app when in background
Ionic Framework I’ve recently implemented a feature like this in my project. I did use Ionic and I did use the Cordova plugin background mode from Katzer. (right now I’m running the background process through the iOS 9.2 simulator). Here’s a code snippet to get it working: // Run when the device is ready document.addEventListener(‘deviceready’, … Read more
Android: Deviceready has not fired after 5 seconds
If you happen to be running the Crosswalk plugin in your app I just confirmed that uninstalling it and reinstalling via; cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview Gets rid of deviceready has not fired after 5 seconds. cordova.js:1223 Channel not fired: onCordovaInfoReady cordova.js:1216 Channel not fired: onCordovaConnectionReady cordova.js:1216 You can see the issue at Crosswalk’s Jira issue … Read more
Ionic – Add/Remove phonegap-push-plugin – CocoaPods was not found
To install push you must first install cocoapods. Follow these steps on your terminal in the Ionic project directory. First remove what you tried to install ionic cordova plugin remove phonegap-plugin-push Next install cocoapods sudo gem install cocoapods Then you need to sync the cocoapods repo pod setup This may take a while Finally install … Read more
PhoneGap – Forcing Landscape orientation
Have you tried this? android:screenOrientation=”portrait” Inside the AndroidManifest.xml file, where you have declared your activity, just add the above line. For example: <activity android:name=”.Activity.SplashScreenActivity” android:label=”@string/app_name” android:screenOrientation=”portrait”> <intent-filter> <action android:name=”android.intent.action.MAIN” /> <category android:name=”android.intent.category.LAUNCHER” /> </intent-filter> </activity>
Cordova: Unexpected Machine Code – Your upload contains both bitcode and native machine code
Posting an answer myself, as it seems to be quite a popular question with nobody answering — so the issue is on the Apple side. Some people contacted Apple support and confirmed this. There is no need to recompile anything. The binary with such a warning can be submitted to the AppStore — it will pass … Read more