trigger.io

Using the HTML5 date input element with android

心已入冬 提交于 2019-12-22 09:13:42
问题 The element <input type="date" /> cannot be activated. When I click on the fields on the emulator it doesn't show me the entrance date but the android keyboard. 回答1: Take a look at this: http://www.quirksmode.org/html5/inputs_mobile.html It tells you which html5 input types and attributes work on each browser. It looks like the datepicker isn't working for most Androids, and thus it would show as a simple text input. 回答2: You could use Trigger.io's UI module to use the native Android date /

Unable to start receiver com.parse.ParseBroadcastReceiver on Trigger.io Android app

♀尐吖头ヾ 提交于 2019-12-21 05:22:30
问题 I've an Android app built with trigger.io, using Parse push notifications. App is deployed to google play and push notifications have been working fine. Recently re-built and deployed to google play a new version of the app, with Forge platform version 1.4.29. Since then I have been receiving the following crash reports through Google Play: java.lang.RuntimeException: Unable to start receiver com.parse.ParseBroadcastReceiver: android.content.ReceiverCallNotAllowedException: IntentReceiver

How can I hide Form Assistant with iOS native plugins using Trigger.IO?

夙愿已清 提交于 2019-12-21 02:47:14
问题 I'm attempting to build a Trigger plugin that will remove the form-assistant (the silly toolbar that rests upon ios webview keyboards that helps you navigate forms with a "next" & "previous" button) on our input & form fields. Here is a hacky solution provided for PhoneGap that I'd like to port over. This question concerns the steps I need to take to implement this properly for Trigger using their plugins system assuming that the aforementioned PhoneGap solution will work. I assume that it

Show keyboard automatically with focus() event in UIWebView using Trigger.IO/PhoneGap

☆樱花仙子☆ 提交于 2019-12-19 04:15:16
问题 Supposedly, this has not been possible since iOS 6 where you can set the UIWebView's keyboardDisplayRequiresUserAction = NO. I'm using a html 5 webview (Trigger.IO) and building a native plugin but am having difficulty grabbing hold of the UIWebView instance. How do I grab hold of the webview so I can simply do the following: mywebview.keyboardDisplayRequiresUserAction = NO; Probably really simple.. what am I missing? 回答1: Access to the UIWebView isn't something we properly expose in the

Cannot get remote WebView debugging to run on Android 4.4 Trigger.io app

橙三吉。 提交于 2019-12-13 21:01:28
问题 I'm trying to enable remote debugging for WebViews on a Trigger.io app running on Nexus 7 (Android 4.4.3). I've created a native module to set the Webview property with the following method: public static void enableWebViewDebugging(final ForgeTask task) { if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT) { WebView.setWebContentsDebuggingEnabled(true); } task.success(); } I call it from JS with forge.internal.call('utils.enableWebViewDebugging', {}, null, null); a

trigger.io Android webview app - grey background appearing after keyboard closes or orientation change

跟風遠走 提交于 2019-12-13 19:49:43
问题 I'm building an html5 wrapped iOS / Android app with Trigger.io. I have a problem on Android with a grey background appearing on the screen in some occasions after the virtual keyboard has closed, or after the phone has changed orientation. Example screenshots are shown below. The grey background is after the end of my app's page. Sometimes it is visible for a split second, other times it stays visible until you make an action such as scroll the page, bring the keyboard back, change

What is the purpose of data-role in TriggerIO?

泄露秘密 提交于 2019-12-13 18:22:46
问题 What is the purpose of the div 'data-role' option seen in the TriggerIO template files? Am I to assume that I can ignore this and build my app as if I would build a normal website in HTML5? Or do I need to use different tag options in order to initiate CSS selectors and such? There doesn't seem to be much information about the real differences between your TriggerIO apps and how you would write a normal HTML5 app. I'm creating a children's story app whereby you can view an image and some text

Provisioning Profile and application Id do not match, why?

こ雲淡風輕ζ 提交于 2019-12-13 15:17:10
问题 When I run forge run ios , I get this: [ ERROR] Provisioning profile and application ID do not match Provisioning profile ID: G85A58Y2F3.io.trigger.forge4afef416b8a111e1910212313d1 adcbe Application ID: G85A58Y2F3.co.uk.nearbyapp.* Please see "Preparing your apps for app stores" in our docs: http://current-docs.trigger.io/releasing.html#ios My local config looks like this { "general": { },"ios": { "device": "device", "profiles": { "DEFAULT": { "provisioning_profile": "nearby.mobileprovision",

Trigger Toolkit doesn't load

我是研究僧i 提交于 2019-12-13 07:19:13
问题 I have installed Trigger Toolkit on my Mac, but when I run it, a browser window opens with the address "https://toolkit-local.com:38394/" and an error: "Error 105 (net::ERR_NAME_NOT_RESOLVED): Unable to resolve the server's DNS address." In the log file in ~/Library/Trigger Toolkit/toolkit.log: No sessions opened in 3 seconds, shutting down...No sessions opened in 3 seconds, shutting down...No sessions opened in 3 seconds, shutting down...No sessions opened in 3 seconds, shutting down...No

How can I use relative urls in ajax requests within trigger.io apps on Android 4.4 (kitkat)?

痞子三分冷 提交于 2019-12-13 06:00:32
问题 My trigger.io-bundled jquery-mobile app works great on both android < 4.4 and iOS devices but refuses to load any relative pages, scripts etc. on android 4.4 once jquery mobile loads. Afaik, jqm turns all links to ajax requests, which suggests ajax requests are broken. WebView has been changed to be Chromium 30-based in kitkat and the migration guide mentions url handling as an area of breaking changes (second link below). https://developer.android.com/about/versions/android-4.4.html https:/