Search found 0 matches

by Terry Gilliver
Mon Jul 20, 2020 1:09 pm
Forum: Moved from Get Satisfaction
Topic: error on service test
Replies: 5
Views: 608

error on service test

\""town\"": \""ASHBY-DE-LA-ZOUCH\""

by Terry Gilliver
Fri Jul 17, 2020 3:58 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

\n \""hourlyrate\"": 0

by Terry Gilliver
Wed Oct 18, 2017 12:10 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

OK I have it working, I installed a new version of cordova notification and then went to select it in cordova plugins. i found out that by default notification is not enabled. I enabled it and the app worked,

by Terry Gilliver
Wed Oct 18, 2017 11:55 am
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

I have determined from the console in weinre that navigator.notification is undefined in your later libraries. This is why my function is not working as neither the beep or the dialog functions will work. Any ideas how to fix this?

by Terry Gilliver
Wed Oct 18, 2017 10:59 am
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

was able to connect my app directly throughwenre, I will put in some logs to try and determine where it is failing.

by Terry Gilliver
Tue Oct 17, 2017 3:07 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

What libraries does the tester app use and is it likely to be updated to the latest library version as this may help me to debug my code using weinre?

by Terry Gilliver
Tue Oct 17, 2017 12:42 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

Yes I need a close app function and yes it is the only cordova code in the app

by Terry Gilliver
Mon Oct 16, 2017 3:55 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

The Latest version of Apperyio library that my app works on is V2.3 which does not have the options to add cordova plugins.

How can I update my code above to work with the latest Appery.io libraries

by Terry Gilliver
Mon Oct 16, 2017 2:26 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

I suspect that the tester app is on an earlier library version

by Terry Gilliver
Mon Oct 16, 2017 2:23 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

I built the app again and retried it on my phone. The exit button does nothing on the installed app, but it works in the appery tester. Any ideas?

by Terry Gilliver
Mon Oct 16, 2017 2:15 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

ok something weird is happening, it still works in appery tester. i will get back to you on this one

by Terry Gilliver
Mon Oct 16, 2017 2:06 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

Since updating this library, my exit function no longer works. This is the code: code /** Check for Phonegapp */ var isPhoneGapApp = function () { return (document.URL.indexOf('http://') === -1 && document.URL.indexOf('https://'...
by Terry Gilliver
Mon Oct 16, 2017 12:32 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

no problem, i found it

by Terry Gilliver
Mon Oct 16, 2017 12:27 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

How do i do this?

by Terry Gilliver
Mon Oct 16, 2017 11:59 am
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

Ok, I have uploaded the plugin to appery and looked for an option to import into my app. According to your docs: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1661939/Capture2_inline.PNG?1508155120 unfortunately there is no app setingscordova plugins section see below: https://d2r1vs3d9006ap.cloud...
by Terry Gilliver
Wed Oct 11, 2017 1:19 pm
Forum: Moved from Get Satisfaction
Topic: uri does not work on android app
Replies: 17
Views: 2101

uri does not work on android app

I have a link in a html component of a jQuery mobile app. It is of the form: <a href="mailto:a href="mailto:info@xxx.co.uk" rel="nofollow"info@xxx.co.uk/a" target="_blank">a href="mailto:info@xxx.co.uk" rel="nofollow"info@xxx.co.uk/a</a> In...
by Terry Gilliver
Wed Sep 06, 2017 12:19 pm
Forum: Moved from Get Satisfaction
Topic: push notifications in server code
Replies: 1
Views: 283

push notifications in server code

I am calling a server code api to send a push message from an external site. It returns http 200 return code but it contains no response body and is not sending the push If I test the server code in appery test system it functions correctly and returns "{"mail":"success"} in...
by Terry Gilliver
Fri Aug 25, 2017 10:31 am
Forum: Moved from Get Satisfaction
Topic: delete local storage used by an app on a device
Replies: 2
Views: 443

delete local storage used by an app on a device

I meant on an actively running app. I got round it by deleting and reinstalling the app.

Thanks anyway Bruce

Happy Friday!

by Terry Gilliver
Thu Aug 24, 2017 3:32 pm
Forum: Moved from Get Satisfaction
Topic: delete local storage used by an app on a device
Replies: 2
Views: 443

delete local storage used by an app on a device

How do I delete the local storage variables on an installed app?

by Terry Gilliver
Tue Aug 22, 2017 2:15 pm
Forum: Moved from Get Satisfaction
Topic: access the phones backbutton in jqm app
Replies: 3
Views: 673

access the phones backbutton in jqm app

Thanks guys, I will look into it.

by Terry Gilliver
Tue Aug 22, 2017 9:18 am
Forum: Moved from Get Satisfaction
Topic: access the phones backbutton in jqm app
Replies: 3
Views: 673

access the phones backbutton in jqm app

is it possible to exit an app by pressing the devices back button twice in succession as with most other apps on the market? It seems to be somewhat of a standard way to exit apps.

by Terry Gilliver
Tue Aug 22, 2017 9:13 am
Forum: Moved from Get Satisfaction
Topic: Variable Scope
Replies: 2
Views: 377

Variable Scope

Thanks Serhii

by Terry Gilliver
Mon Aug 21, 2017 3:42 pm
Forum: Moved from Get Satisfaction
Topic: trustpilot in android app
Replies: 0
Views: 396

trustpilot in android app

I am trying to load a trust pilot review page from my app. As aw web app it functions correctly and goes straight to the page. On the android app it shows a link which you need to click before it opens the page in a new browser. The code is supplied by trust pilot and contains some minified javascri...
by Terry Gilliver
Fri Aug 18, 2017 3:14 pm
Forum: Moved from Get Satisfaction
Topic: Variable Scope
Replies: 2
Views: 377

Variable Scope

What is the scope of ionic variables? Are they available throughout the application or only on the page defined? Where are they stored? They don't appear to be in session or local storage. We don't seem to be able to define storage as in jqm.

by Terry Gilliver
Fri Aug 18, 2017 1:39 pm
Forum: Moved from Get Satisfaction
Topic: session times out in middle of edit
Replies: 1
Views: 316

session times out in middle of edit

This is an annoyance rather than a problem. I was in the middle of a complex edit when my session timed out forcing me to re login thus losing my previous changes.

Could there be some sort of automatic save before a session timeout?

by Terry Gilliver
Tue Aug 15, 2017 3:46 pm
Forum: Moved from Get Satisfaction
Topic: bootstrap /angular js
Replies: 1
Views: 318

bootstrap /angular js

I want to look into bootstrap and and angularjs. What videos and docs do you recommend i watch/read?

by Terry Gilliver
Wed Aug 02, 2017 12:29 pm
Forum: Moved from Get Satisfaction
Topic: Creating a service that contains arrays of objects in the body
Replies: 1
Views: 359

Creating a service that contains arrays of objects in the body

Even though it is not possible to test, it does actually work in practice. I called it with the following javascript and it worked pre sendMail&#46;execute({ headers: { "Authorization" : "Basic *******************" }, data: { "from" : "web@comp-solutions&#4...
by Terry Gilliver
Wed Aug 02, 2017 11:16 am
Forum: Moved from Get Satisfaction
Topic: Getting an android build error
Replies: 0
Views: 431

Getting an android build error

Getting the following build error: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1629922/Capture_inline.png?1501672380 The error only happens if 'release' is ticked. The following is the javascript class it is complaining about, although js hint does not show any syntax errors: pre /* TaxRefundRep...
by Terry Gilliver
Wed Aug 02, 2017 10:39 am
Forum: Moved from Get Satisfaction
Topic: Android Build Error
Replies: 0
Views: 425

Android Build Error

I am getting the following error trying to build an android apk: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1629913/Capture_inline.png?1501670206 It runs ok in the developer and jshint doesn't show that there are syntax errors here is the javascript class which is apparently causing the error: ...
by Terry Gilliver
Tue Aug 01, 2017 4:55 pm
Forum: Moved from Get Satisfaction
Topic: Creating a service that contains arrays of objects in the body
Replies: 1
Views: 359

Creating a service that contains arrays of objects in the body

I want to configure a service which has a body similar to the following: code{ "to" : [ {"to": "terry@mrtaxsoftware&#46;com", "toName" : "Terry Gilliver"} ], "from" : "web@comp-solutions&#46;org&#46;uk", "fromName...
by Terry Gilliver
Wed Jul 12, 2017 1:30 pm
Forum: Moved from Get Satisfaction
Topic: change radiogroup from horizontal to vertical depending on screen width
Replies: 10
Views: 1199

change radiogroup from horizontal to vertical depending on screen width

The breakpoint issue seems to be a chrome bug. closing and reopening the browser seems to fix it temporarily. I am using Chrome: Version 59.0.3071.115 (Official Build) (64-bit)

by Terry Gilliver
Wed Jul 12, 2017 10:11 am
Forum: Moved from Get Satisfaction
Topic: change radiogroup from horizontal to vertical depending on screen width
Replies: 10
Views: 1199

change radiogroup from horizontal to vertical depending on screen width

Ok, Thanks Bruce, i will try that.

Happy Wednesday!

Oh, and my breakpoints are working again... how weird.

by Terry Gilliver
Wed Jul 12, 2017 10:09 am
Forum: Moved from Get Satisfaction
Topic: No security database access
Replies: 5
Views: 666

No security database access

Thanks for the update Bernie.

In this situation, however, it is a completely anonymous app.

by Terry Gilliver
Tue Jul 11, 2017 2:52 pm
Forum: Moved from Get Satisfaction
Topic: change radiogroup from horizontal to vertical depending on screen width
Replies: 10
Views: 1199

change radiogroup from horizontal to vertical depending on screen width

Didn't work for me Bruce. however, was looking for a select that would work on all checkbox groups. I tried: pre$(document)&#46;on('pageshow',function() { debugger; alert("page show event fired"); if ($(window)&#46;width() < 400) { alert("page < 400"); $("fieldset[da...
by Terry Gilliver
Tue Jul 11, 2017 11:59 am
Forum: Moved from Get Satisfaction
Topic: change radiogroup from horizontal to vertical depending on screen width
Replies: 10
Views: 1199

change radiogroup from horizontal to vertical depending on screen width

How can I switch a control-group (radio-group or checkbox-group) from horizontal to vertical depending on screen size? (jQuery Mobile) This is what I have tried so far: pre$(document)&#46;on('pagebeforeshow',function() { if ($(window)&#46;width() < 400) { $("fieldset[data-type=horizonta...
by Terry Gilliver
Mon Jul 10, 2017 1:38 pm
Forum: Moved from Get Satisfaction
Topic: list all items of a collection in specific order
Replies: 4
Views: 585

list all items of a collection in specific order

Thanks, Bruce,

i just realised i can also add it to the list service, therefore no need to change to a query service. Works fine!

Happy Monday!

by Terry Gilliver
Mon Jul 10, 2017 1:13 pm
Forum: Moved from Get Satisfaction
Topic: list all items of a collection in specific order
Replies: 4
Views: 585

list all items of a collection in specific order

I need to return all items from a collection in a particular order. I don't think this can be done with a list service, so i am guessing it has to be done in a query service. I wish to order my collection by 'Tax_Period' which is a string like '2015-2016' or '2016-2017'. I want them listed in ascend...
by Terry Gilliver
Sat Jul 08, 2017 4:38 pm
Forum: Moved from Get Satisfaction
Topic: No security database access
Replies: 5
Views: 666

No security database access

I haven't set Secure Collection = true, but I see a header for session token in the service.

Are you saying that I can leave that setting blank?

by Terry Gilliver
Sat Jul 08, 2017 12:28 pm
Forum: Moved from Get Satisfaction
Topic: No security database access
Replies: 5
Views: 666

No security database access

I have an app that doesn't require a login, therefore there is no session token. I have a database with static data which needs no security (read only). How do I access this, as when i create a database service it requires the session token.

by Terry Gilliver
Thu Jul 06, 2017 5:29 pm
Forum: Moved from Get Satisfaction
Topic: SQLITE database locally on phone
Replies: 3
Views: 572

SQLITE database locally on phone

Thanks Guys,

That has given me something to look into

by Terry Gilliver
Tue Jul 04, 2017 1:35 pm
Forum: Moved from Get Satisfaction
Topic: SQLITE database locally on phone
Replies: 3
Views: 572

SQLITE database locally on phone

If I wanted to create a internet free app, storing the data locally on the phone only, can this be done with sqlite? Are there any tutorials for this?

by Terry Gilliver
Fri Jun 30, 2017 4:18 pm
Forum: Moved from Get Satisfaction
Topic: cannot navigate away from page
Replies: 1
Views: 290

cannot navigate away from page

After loading a google map component cannot navigate away from page. A back button just takes us back to the top of the page. If the app is run a second time without closing the browser, it functions correctly. The following image shows the console error during initialisation: https://d2r1vs3d9006ap...
by Terry Gilliver
Tue Jun 13, 2017 9:57 am
Forum: Moved from Get Satisfaction
Topic: make sure that at least one checkbox is set
Replies: 1
Views: 371

make sure that at least one checkbox is set

I found the solution .checkboxradio('refresh') fixed it. codefunction checkTransmission() { console&#46;log("transmission checkbox group value changed"); var manualIsChecked = $("#reg2_manual_checkbox")&#46;is(":checked"); var automaticIsChecked = $("#reg2_...
by Terry Gilliver
Mon Jun 12, 2017 3:03 pm
Forum: Moved from Get Satisfaction
Topic: make sure that at least one checkbox is set
Replies: 1
Views: 371

make sure that at least one checkbox is set

I have a checkbox group containing two checkboxes 'manual' and 'automatic'with a default value of 'manual'. I have writtent some javascript code which is execute from the checkbox groups change event. One value must be set at all times. if manual is selected only and you try to un-select it the chan...
by Terry Gilliver
Thu Jun 08, 2017 4:14 pm
Forum: Moved from Get Satisfaction
Topic: google play store says my device is not compatible
Replies: 21
Views: 4207

google play store says my device is not compatible

Ok, Unsure what you are saying. Do you mean I enter the highest version number in the min sdk and the lowest version number in the target sdk? By the way, the drop down list only goes as far as 5.1 not 6.x Also Do these setting affect how google play store decides which of your devices are compatible?
by Terry Gilliver
Tue Jun 06, 2017 7:19 pm
Forum: Moved from Get Satisfaction
Topic: google play store says my device is not compatible
Replies: 21
Views: 4207

google play store says my device is not compatible

So setting the lowest value in min sdk version and the highest value in the target sdk will give me the broadest coverage yes?

by Terry Gilliver
Tue Jun 06, 2017 10:46 am
Forum: Moved from Get Satisfaction
Topic: google play store says my device is not compatible
Replies: 21
Views: 4207

google play store says my device is not compatible

how does android min sdk and target sdk affect the app? I want it to be available to as many versions as possible.

by Terry Gilliver
Wed May 17, 2017 11:40 am
Forum: Moved from Get Satisfaction
Topic: Map component not displaying correctly if page is called by an Apperyio.navigateTo()
Replies: 5
Views: 737

Map component not displaying correctly if page is called by an Apperyio.navigateTo()

Found a solution:

google.maps.event.trigger(map, 'resize');

I added this to the page show event which forced the map to re-render correctly

by Terry Gilliver
Wed May 17, 2017 11:39 am
Forum: Moved from Get Satisfaction
Topic: force google maps to re-render
Replies: 1
Views: 330

force google maps to re-render

Found a solution:

google.maps.event.trigger(map, 'resize');

I added this to the page show event

by Terry Gilliver
Wed May 17, 2017 11:19 am
Forum: Moved from Get Satisfaction
Topic: force google maps to re-render
Replies: 1
Views: 330

force google maps to re-render

is there a function call i can make to force a google map component to re-render in JQM?

by Terry Gilliver
Wed May 17, 2017 10:35 am
Forum: Moved from Get Satisfaction
Topic: Map component not displaying correctly if page is called by an Apperyio.navigateTo()
Replies: 5
Views: 737

Map component not displaying correctly if page is called by an Apperyio.navigateTo()

My Current initialize function: prefunction initialize() { console&#46;log('Initializing&#46;&#46;&#46;'); map = Apperyio("google_map")&#46;gmap; if (!map) { setDelay(); } else { console&#46;log("map has a value!"); directionsDisplay = new google&#46;m...
by Terry Gilliver
Tue May 16, 2017 6:01 pm
Forum: Moved from Get Satisfaction
Topic: Map component not displaying correctly if page is called by an Apperyio.navigateTo()
Replies: 5
Views: 737

Map component not displaying correctly if page is called by an Apperyio.navigateTo()

It is something to do with map not being defined though as the console is throwing up an error on the following line (cannot read property setCenter of undefined: map.setCenter(markerLatLng); So it appears that the delay doesn't help I tried the following for initialize() thinking that that map map ...
by Terry Gilliver
Tue May 16, 2017 5:32 pm
Forum: Moved from Get Satisfaction
Topic: Map component not displaying correctly if page is called by an Apperyio.navigateTo()
Replies: 5
Views: 737

Map component not displaying correctly if page is called by an Apperyio.navigateTo()

Yes, I have something like that based on Appery.io sample code and initialize() is called on page load event: prevar map; var panel; var directionsDisplay; var directionsService = new google&#46;maps&#46;DirectionsService(); var bounds = new google&#46;maps&#46;LatLngBounds(); functi...
by Terry Gilliver
Tue May 16, 2017 4:42 pm
Forum: Moved from Get Satisfaction
Topic: having map component zoom into a particular country when first displayed
Replies: 2
Views: 392

having map component zoom into a particular country when first displayed

I want a google map component to zoom into a country when first rendered. I know that I can do this by setting the address to be the centre of the country and then setting the zoom level. My problem with this is that I don't want the location marker to show, or I wan't to be able to remove it when I...
by Terry Gilliver
Tue May 16, 2017 4:35 pm
Forum: Moved from Get Satisfaction
Topic: Map component not displaying correctly if page is called by an Apperyio.navigateTo()
Replies: 5
Views: 737

Map component not displaying correctly if page is called by an Apperyio.navigateTo()

I have a JQM page with a map component and a html panel to display directions. If I run the page by setting it as the starting page it functions correctly. If I navigate toi that page from another the map is not rendered correctly. If I refresh the page, the map then renders as it should. First Time...
by Terry Gilliver
Tue May 16, 2017 12:35 pm
Forum: Moved from Get Satisfaction
Topic: find my location
Replies: 1
Views: 268

find my location

How do I find the current location of the device in a jquery mobile app?

by Terry Gilliver
Tue May 16, 2017 10:38 am
Forum: Moved from Get Satisfaction
Topic: Google Maps Pricing
Replies: 2
Views: 425

Google Maps Pricing

Thanks Bruce

by Terry Gilliver
Mon May 15, 2017 1:01 pm
Forum: Moved from Get Satisfaction
Topic: what is and how do I set up an IOS distribution certificate?
Replies: 12
Views: 1712

what is and how do I set up an IOS distribution certificate?

I have a fairly new PC with an 8-core Xeon processor. I won't be upgrading it soon.

thanks for the input though :)

by Terry Gilliver
Mon May 15, 2017 12:24 pm
Forum: Moved from Get Satisfaction
Topic: I have tried to import an IOS certificate and getting an error
Replies: 8
Views: 1210

I have tried to import an IOS certificate and getting an error

I have tried renaming the file to Dev_IOS.p12 as per the video, this did not make any difference

by Terry Gilliver
Mon May 15, 2017 11:47 am
Forum: Moved from Get Satisfaction
Topic: Google Maps Pricing
Replies: 2
Views: 425

Google Maps Pricing

I am a bit unsure about Google pricing structure. Am I right in saying that for free apps, I can make unlimited calls to the Google Maps API at no cost, or is there a limitation? Is this the same for both Android and IOS apps? What I intend to do is provide driving directions, between two points, I ...
by Terry Gilliver
Mon May 15, 2017 11:20 am
Forum: Moved from Get Satisfaction
Topic: I have tried to import an IOS certificate and getting an error
Replies: 8
Views: 1210

I have tried to import an IOS certificate and getting an error

The other file, (which i have not used) is 'ADI Buddy.pem'

Also have I put the password in the right field or should it be in the third field?

by Terry Gilliver
Mon May 15, 2017 11:18 am
Forum: Moved from Get Satisfaction
Topic: I have tried to import an IOS certificate and getting an error
Replies: 8
Views: 1210

I have tried to import an IOS certificate and getting an error

By the way the name of the file is 'ADI Buddy private.p12'. Is it the spaces in the filename?

by Terry Gilliver
Mon May 15, 2017 11:16 am
Forum: Moved from Get Satisfaction
Topic: I have tried to import an IOS certificate and getting an error
Replies: 8
Views: 1210

I have tried to import an IOS certificate and getting an error

I now have the .p12 file and I also have a .pem file which appears to be a public key

I selected the .p12 file and used the password that my colleague gave to me, but I am still getting the same error.

by Terry Gilliver
Fri May 12, 2017 10:16 am
Forum: Moved from Get Satisfaction
Topic: I have tried to import an IOS certificate and getting an error
Replies: 8
Views: 1210

I have tried to import an IOS certificate and getting an error

Thanks Illya, I will look into it. I had a colleague get the keys for me as he has done it before. I guess he gave me the wrong file, a . cer file.

by Terry Gilliver
Thu May 11, 2017 4:53 pm
Forum: Moved from Get Satisfaction
Topic: what is and how do I set up an IOS distribution certificate?
Replies: 12
Views: 1712

what is and how do I set up an IOS distribution certificate?

I did try installing apple os on my pc, but my hardware is not compatible

by Terry Gilliver
Tue May 09, 2017 4:18 pm
Forum: Moved from Get Satisfaction
Topic: Error creating android app uglification error
Replies: 4
Views: 718

Error creating android app uglification error

It appears that the builder doesn't support Javascript ES6. I change the code to the following (compatible with previous versions of Javascript): pre /** Echo Error Message on service failure */ function alertError(msg, duration) { duration = typeof duration !== 'undefined' ? duration : 3000; var el...
by Terry Gilliver
Tue May 09, 2017 10:48 am
Forum: Moved from Get Satisfaction
Topic: Error creating android app uglification error
Replies: 4
Views: 718

Error creating android app uglification error

There is an error with JSLint, it seems not to like the equals sign in duration = 3000.
However this is just a default setting.

this app works as a web app and will also build in debug mode, but not in release mode

by Terry Gilliver
Tue May 09, 2017 9:41 am
Forum: Moved from Get Satisfaction
Topic: what is and how do I set up an IOS distribution certificate?
Replies: 12
Views: 1712

what is and how do I set up an IOS distribution certificate?

It seems to suggest that I need to do all this from a MAC computer. Can this be done from a windows computer?

by Terry Gilliver
Mon May 08, 2017 4:22 pm
Forum: Moved from Get Satisfaction
Topic: Error creating android app uglification error
Replies: 4
Views: 718

Error creating android app uglification error

I am getting the following error:

Image

The error message is pointing to the following function:

Image

by Terry Gilliver
Mon May 08, 2017 4:03 pm
Forum: Moved from Get Satisfaction
Topic: what is and how do I set up an IOS distribution certificate?
Replies: 12
Views: 1712

what is and how do I set up an IOS distribution certificate?

I am trying to build an ios app for testing, it need to require a distribution certificate. What is this and How do i set it up

by Terry Gilliver
Thu Apr 27, 2017 12:50 pm
Forum: Moved from Get Satisfaction
Topic: timeout on service call
Replies: 7
Views: 692

timeout on service call

Ok, using console.time() My script took :

register: 3513.000244140625ms.

which leaves about 1.5 secs to spare, I guess that is ok

by Terry Gilliver
Thu Apr 27, 2017 12:27 pm
Forum: Moved from Get Satisfaction
Topic: timeout on service call
Replies: 7
Views: 692

timeout on service call

Thanks Serhii, I'll look into that

by Terry Gilliver
Wed Apr 26, 2017 2:48 pm
Forum: Moved from Get Satisfaction
Topic: timeout on service call
Replies: 7
Views: 692

timeout on service call

It seems to be working now, which is a bit worrying, since I have not made any significant changes. I suspect it may happen again. Is there any way of checking how long my scripts are taking to execute, to see if I am close to the limit?

by Terry Gilliver
Wed Apr 26, 2017 10:46 am
Forum: Moved from Get Satisfaction
Topic: timeout on service call
Replies: 7
Views: 692

timeout on service call

Thanks for the reply Bruce, It is currently a single call using API express. This sends a request to my external php rest service. The execution timeout appears to be related to the amount of time that my service takes to execute before returning the response back to API express. If I split it into ...
by Terry Gilliver
Tue Apr 25, 2017 1:10 pm
Forum: Moved from Get Satisfaction
Topic: timeout on service call
Replies: 7
Views: 692

timeout on service call

I have just added email functionality to a registration service which is on an external service. My code works as it should and sends a welcome email to new registrants of my app. However the appery times out and returns the following message: pre{ "code": "AE015", "message&...
by Terry Gilliver
Thu Apr 13, 2017 4:47 pm
Forum: Moved from Get Satisfaction
Topic: Problem with server code push
Replies: 4
Views: 455

Problem with server code push

figured it out, I defined the array containing the channel as a valriable 'ch' as follows: code &#47;&#47; Push Notifications API key from: &#47;&#47; Apps > [App] > Push Notifications > Settings &#47;&#47; 'badge' is iOS only setting var pushApiKey = "0813456a-4b56-4386...
by Terry Gilliver
Thu Apr 13, 2017 2:48 pm
Forum: Moved from Get Satisfaction
Topic: Problem with server code push
Replies: 4
Views: 455

Problem with server code push

Have run into a problem with server code push notifications: code &#47;&#47; Push Notifications API key from: &#47;&#47; Apps > [App] > Push Notifications > Settings &#47;&#47; 'badge' is iOS only setting var pushApiKey = "0813456a-4b56-4386-97a1-b3daacf5c3ee&quot va...
by Terry Gilliver
Thu Apr 13, 2017 1:43 pm
Forum: Moved from Get Satisfaction
Topic: create a targeted push notification in server code using channels
Replies: 3
Views: 351

create a targeted push notification in server code using channels

Just run into an issue: Here is the code: code&#47;&#47; Push Notifications API key from: &#47;&#47; Apps > [App] > Push Notifications > Settings &#47;&#47; 'badge' is iOS only setting var pushApiKey = "0813456a-4b56-4386-97a1-b3daacf5c3ee&quot var message = request&...
by Terry Gilliver
Thu Apr 13, 2017 12:52 pm
Forum: Moved from Get Satisfaction
Topic: create a targeted push notification in server code using channels
Replies: 3
Views: 351

create a targeted push notification in server code using channels

I can't locate any info for creating targeted push notifications using channels. I want to do this in server code, so that I can call it as a service from an external website.

by Terry Gilliver
Thu Apr 13, 2017 8:56 am
Forum: Moved from Get Satisfaction
Topic: Read The devices collection from an external site
Replies: 11
Views: 1230

Read The devices collection from an external site

Thanks Bruce. I did a bit more investigation into the appery docs and realised I can determine what the current device is from the app, which means, I can as you say create my own database table containing info about the device. I can also then set a channel in the devices collection on all users wh...
by Terry Gilliver
Wed Apr 12, 2017 2:48 pm
Forum: Moved from Get Satisfaction
Topic: Read The devices collection from an external site
Replies: 11
Views: 1230

Read The devices collection from an external site

OK, Can I instead send a rest call to apppery.io, passing a title & message that will instigate a push notification? I also have another issue, Only users who subscribe to notifications are required to get them, so there needs to be a tie between the user and the device. How would I know which d...
by Terry Gilliver
Wed Apr 12, 2017 11:04 am
Forum: Moved from Get Satisfaction
Topic: Read The devices collection from an external site
Replies: 11
Views: 1230

Read The devices collection from an external site

I have an external web site written in php Is there an appery rest api I can use to read in the contents of the mongodb devices collection? I want to send push notifications from my external site to my android/ios apps. An alternative would be to send the push data to appery and let appery handle th...
by Terry Gilliver
Fri Mar 10, 2017 10:17 am
Forum: Moved from Get Satisfaction
Topic: Generic Service Mappings - can't map the array pointer
Replies: 3
Views: 398

Generic Service Mappings - can't map the array pointer

emThis reply was created from a merged topic originally titled Generic Service ./em I have tried to create a Generic rest service containind a list of areas return ed as an array. I am using the visual editor to map the array to a list component, but i can't map the array pointer ${i} to the list co...
by Terry Gilliver
Wed Mar 08, 2017 10:03 am
Forum: Moved from Get Satisfaction
Topic: How does the automatic updates work?
Replies: 1
Views: 223

How does the automatic updates work?

How does the automatic updates work in the Android Binary Options. Does it get its updates from the app store? or can I put my updated apk somewhere else?

by Terry Gilliver
Tue Mar 07, 2017 11:05 pm
Forum: Moved from Get Satisfaction
Topic: Phonegap exit button
Replies: 3
Views: 355

Phonegap exit button

Ok Tested With Weinre debugging and no errors were shown on the console. Android binary settings are: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1563118/Selection_083_inline.png?1488927707 Device is a Tesco Hudl 2 Android 5.1 Bios BayTrail 5.04.48.0056.e The App is called ADI Buddy and is share...
by Terry Gilliver
Tue Mar 07, 2017 12:40 pm
Forum: Moved from Get Satisfaction
Topic: Phonegap exit button
Replies: 3
Views: 355

Phonegap exit button

I have some code attached to an exit button: prenavigator&#46;notification&#46;confirm( 'Press Exit to terminate application', &#47;&#47; message function(buttonindex){if (buttonindex === 1) {navigator&#46;app&#46;exitApp();}}, &#47;&#47; callback to invoke with index...
by Terry Gilliver
Tue Mar 07, 2017 12:32 pm
Forum: Moved from Get Satisfaction
Topic: exit button if hybrid app
Replies: 2
Views: 304

exit button if hybrid app

I have got the buttons to show now. i had visibility unchecked. I thought that visibility was the same as .show() and by unclicking it I had effectively done a .hide(), but this is obviously not the case.

by Terry Gilliver
Tue Mar 07, 2017 9:05 am
Forum: Moved from Get Satisfaction
Topic: exit button if hybrid app
Replies: 2
Views: 304

exit button if hybrid app

I have an invisible exit button on a list component that should show if I have a hybrid app. The code is: pre if(isPhoneGapApp) { console&#46;log('This is a hybrid app, so show the exit button'); Apperyio('exit_listitem')&#46;parent()&#46;show(); }/pre This works on a page (in the mobile...
by Terry Gilliver
Mon Mar 06, 2017 8:55 pm
Forum: Moved from Get Satisfaction
Topic: testing for web app or hybrid
Replies: 3
Views: 368

testing for web app or hybrid

Thanks Bruce, I will try this and let you know how I get on

by Terry Gilliver
Mon Mar 06, 2017 6:26 pm
Forum: Moved from Get Satisfaction
Topic: problem with Weinre Debugging
Replies: 1
Views: 248

problem with Weinre Debugging

Seems to be working now. Ignore this

by Terry Gilliver
Mon Mar 06, 2017 6:23 pm
Forum: Moved from Get Satisfaction
Topic: testing for web app or hybrid
Replies: 3
Views: 368

testing for web app or hybrid

i have an app which can either run as a hybrid or html5 app I tried pre if (typeof cordova !== 'undefined') { &#47;&#47;we are hybrid &#47;&#47;do hybrid stuff } else { &#47;&#47;we are an html5 app &#47;&#47;do html5 only stuff } /pre it didn't work and always ran th...
by Terry Gilliver
Mon Mar 06, 2017 5:44 pm
Forum: Moved from Get Satisfaction
Topic: problem with Weinre Debugging
Replies: 1
Views: 248

problem with Weinre Debugging

I checked Weinre debugging in app settings, clicked on the link I was given and got the following error: Debugging is disabled in App Settings or according to subscription restrictions Well I know it is enabled in app settings, so what does it mean "According to subscription restrictions"?
by Terry Gilliver
Thu Feb 23, 2017 12:07 pm
Forum: Moved from Get Satisfaction
Topic: image not found from media manager
Replies: 6
Views: 470

image not found from media manager

Yes, that looks good, thanks,

by Terry Gilliver
Wed Feb 22, 2017 3:13 pm
Forum: Moved from Get Satisfaction
Topic: image not found from media manager
Replies: 6
Views: 470

image not found from media manager

The App is already shared with support. The App is called ADI Buddy. If you run the app the first screen displayed is called splash, this is ownly visible from a web interface, not an app. The screen statys on for about 3 seconds before moving to login or regiister. The console will show the error t...
by Terry Gilliver
Fri Feb 17, 2017 3:01 pm
Forum: Moved from Get Satisfaction
Topic: image not found from media manager
Replies: 6
Views: 470

image not found from media manager

It is just an image inside a 3 x 3 grid. The image is selected from the media manager in the properties panel

by Terry Gilliver
Thu Feb 16, 2017 5:56 pm
Forum: Moved from Get Satisfaction
Topic: image not found from media manager
Replies: 6
Views: 470

image not found from media manager

I have create a splash screen for my web app using an image loaded from media manager: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1552991/Capture_inline.png?1487267626 When I run the app no image is displayed and I get the following in the console: https://d2r1vs3d9006ap.cloudfront.net/s3_image...
by Terry Gilliver
Wed Feb 15, 2017 6:24 pm
Forum: Moved from Get Satisfaction
Topic: populate select via javascript based on an input component
Replies: 6
Views: 730

populate select via javascript based on an input component

I came up with a better way: I created a Generic Service and used that to populate the list component, preAppery&#46;areas = Appery&#46;createClass(null, { init : function(requestOptions) { this&#46;__requestOptions = $&#46;extend({}, requestOptions); console&#46;log("reques...
by Terry Gilliver
Wed Feb 15, 2017 6:10 pm
Forum: Moved from Get Satisfaction
Topic: session storage seems corrupted
Replies: 0
Views: 370

session storage seems corrupted

I have a button with the following js: prevar area = $(this)&#46;text()&#46;trim(); console&#46;log(area); &#47;&#47;this shows 'DE (Derby)' in the console Apperyio&#46;storage&#46;currentCourse&#46;update("$['" + area + "']"); Apperyio&#46;nav...
by Terry Gilliver
Wed Feb 15, 2017 4:42 pm
Forum: Moved from Get Satisfaction
Topic: testing A Generic Service
Replies: 0
Views: 379

testing A Generic Service

I have a generic service which is supposed to return an array of JSON objects. This doesn't seem to be working correctly.

The service definition does not have a test tab, How can I debug/check the data returned from my service.

by Terry Gilliver
Wed Feb 15, 2017 2:29 pm
Forum: Moved from Get Satisfaction
Topic: Generic Service Mappings - can't map the array pointer
Replies: 3
Views: 398

Generic Service Mappings - can't map the array pointer

I have a generic service which returns an array of JSON objects. when I try to map the array pointer $ to the list component, it will not map (lst name does not change green) My Javascript: pre Appery&#46;areas = Appery&#46;createClass(null, { init : function(requestOptions) { this&#46;_...
by Terry Gilliver
Wed Feb 15, 2017 12:25 pm
Forum: Moved from Get Satisfaction
Topic: Generic Service (JSON)
Replies: 2
Views: 285

Generic Service (JSON)

Ok, i think I found it in the old docs by googling it, The response goes in the "settings.success({}); line yes? so would my reponse be something like: presettings&#46;success( [{ "title" : "xxxxx", "link" : "yyyyy" }, { "title" : "aaaa...
by Terry Gilliver
Wed Feb 15, 2017 11:57 am
Forum: Moved from Get Satisfaction
Topic: Generic Service (JSON)
Replies: 2
Views: 285

Generic Service (JSON)

How do I program a Generic Rest Service to return a response containing and array of json objects? Do I do something like this (complete guess): preAppery&#46;areas = Appery&#46;createClass(null, { init : function(requestOptions) { this&#46;__requestOptions = $&#46;extend({}, request...
by Terry Gilliver
Tue Feb 14, 2017 12:49 am
Forum: Moved from Get Satisfaction
Topic: populate select via javascript based on an input component
Replies: 6
Views: 730

populate select via javascript based on an input component

Ok Thanks guys for your answers, but I think I have a solution: Checking out jquery mobile documentation, I have found that I can filter using something like this: pre<form class="ui-filterable"> <input id="filterBasic-input" data-type="search"> </form> <!-- listitems -...
by Terry Gilliver
Sun Feb 12, 2017 7:38 pm
Forum: Moved from Get Satisfaction
Topic: populate select via javascript based on an input component
Replies: 6
Views: 730

populate select via javascript based on an input component

I have a select component which could have a hundred or more entries.
Any idea how I can use an input component as a partial search to narrow down my list length?

by Terry Gilliver
Wed Feb 08, 2017 11:38 am
Forum: Moved from Get Satisfaction
Topic: servicename.execute({}); full syntax
Replies: 6
Views: 592

servicename.execute({}); full syntax

Just an update, I couldn't find any info in the new documentation, regarding this, Is there a new preferred way of doing it rather than service.execute()?

Otherewise, i am happy with your response.

by Terry Gilliver
Tue Feb 07, 2017 1:34 pm
Forum: Moved from Get Satisfaction
Topic: API Express Error
Replies: 3
Views: 436

API Express Error

Thanks IIlya,

I found the problem, i had the response code set incorrectly

by Terry Gilliver
Mon Feb 06, 2017 4:43 pm
Forum: Moved from Get Satisfaction
Topic: API Express Error
Replies: 3
Views: 436

API Express Error

I have created an endpoint in API Express. which works correctly in its own test environment. https://d2r1vs3d9006ap.cloudfront.net/s3_images/1548230/Capture_inline.png?1486399382 When I import into appery development environment and test it there I get the following error: { "status": 400...
by Terry Gilliver
Fri Feb 03, 2017 1:01 pm
Forum: Moved from Get Satisfaction
Topic: servicename.execute({}); full syntax
Replies: 6
Views: 592

servicename.execute({}); full syntax

i think I have proved my point with the querystring parameters, the following snippet works perfectly:

Image

by Terry Gilliver
Thu Feb 02, 2017 2:31 pm
Forum: Moved from Get Satisfaction
Topic: servicename.execute({}); full syntax
Replies: 6
Views: 592

servicename.execute({}); full syntax

i think you are correct in what you are saying, but I think that data:{} is where the parameters are passed in the body of the request . I seem to have read somewhere that query string parameters are passed as parameters:{}. I just wanted to verify this. Also since this is missing from the new docum...
by Terry Gilliver
Thu Feb 02, 2017 1:33 pm
Forum: Moved from Get Satisfaction
Topic: servicename.execute({}); full syntax
Replies: 6
Views: 592

servicename.execute({}); full syntax

I have seen many samples of service.execute({}); I have never seen the complete syntax anywhere. I have my own ideas, could you very that the following is correct pre service_name&#46;execute({ success: function( PlainObject data, String textStatus, jqXHR jqXHR ) { &#47;&#47;Success hand...
by Terry Gilliver
Thu Feb 02, 2017 12:01 pm
Forum: Moved from Get Satisfaction
Topic: Problem with geocoder
Replies: 2
Views: 289

Problem with geocoder

Thanks, Sergiy, I have decided that my design is flawed, and have put the latitude and longitude values directly into my database. Calculating these on an ongoing basis would in any case make too many calls to the google geocode service, and as well as slow down my app, mean that I would quickly run...
by Terry Gilliver
Tue Jan 31, 2017 4:11 pm
Forum: Moved from Get Satisfaction
Topic: Problem with geocoder
Replies: 2
Views: 289

Problem with geocoder

I am using the following function to get latitude and longitude values: pre&#47;&#47;return lat & lng values of a postcode var geocoder; geocoder = new google&#46;maps&#46;Geocoder(); function codeAddress(address) { var result = ''; geocoder&#46;geocode( { 'address': address,...
by Terry Gilliver
Mon Jan 30, 2017 7:17 pm
Forum: Moved from Get Satisfaction
Topic: calculate distance between two postcodes inside a service success mapping
Replies: 2
Views: 327

calculate distance between two postcodes inside a service success mapping

Is it possible to calculate the distance between two postcodes inside a success mapping? I have a collapsible component in in a query mobile app which I want to display the distance between two postcodes in the header of the collapsible. One postcode will be fixed and the other will change in each i...
by Terry Gilliver
Mon Jan 30, 2017 11:21 am
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

I have found out the problem. I had loaded the jqueryui library to try out its functionality, but it seems that it is not compatible with jquery mobile.

by Terry Gilliver
Mon Jan 30, 2017 11:00 am
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

The App is shared with support, It is called OWD for Instructors. It runs a test page that just contains a slider control, which is not rendering correctly

by Terry Gilliver
Fri Jan 27, 2017 5:12 pm
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

temporarily disabling javscript will allow the slider to render, so the issue is somewhere in the javascript? Next i tried removing each javascript file one at a time, testing without that js in place and then putting the js back if it had no effect. i have removed each of my javascripts in turn and...
by Terry Gilliver
Fri Jan 27, 2017 4:28 pm
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

I am sure is is not that js above either as i have commented that out and the problem persists. Is there an easy way to temporarily remove scripts without having to comment them out?. There are so many scripts in my code that it would take some time to isolate what is causing the issue

by Terry Gilliver
Fri Jan 27, 2017 3:57 pm
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

Just to test I create a blank page with just a slider control, it has the same issue: Image

by Terry Gilliver
Fri Jan 27, 2017 3:56 pm
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

As a test I created a brand new page with just a slider component on it it has the same problem, therefore the issue must be in a loaded javascript or a CSS I think.

by Terry Gilliver
Fri Jan 27, 2017 3:36 pm
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

I am not sure exactly when it went wrong, The gui shows as it would with the css commented out, so I don't think that is the issue, I have made changes a js file, but i am not sure exactly what changes have been made since it failed. The js file is as follows: pre&#47;&#47; Define Score Colo...
by Terry Gilliver
Fri Jan 27, 2017 12:31 pm
Forum: Moved from Get Satisfaction
Topic: slider controls not rendering
Replies: 9
Views: 746

slider controls not rendering

For some reason, my slider controls have stopped rendering properly on jquery mobile app. I have tried commenting out my css to make sure that my styles hadn't broken it, but this made no difference: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1543210/Capture_inline.PNG?1485520234 There are no c...
by Terry Gilliver
Tue Jan 24, 2017 3:31 pm
Forum: Moved from Get Satisfaction
Topic: mapping values to a checkbox
Replies: 2
Views: 305

mapping values to a checkbox

I found a work around, but i am not entirely happy with it, i removed the mapping to the checkbox group and mapped the same value to all the checkbox items 'checked' value with the following javascript: this is the js for the fueltype 'petrol' checked mapping: preconsole&#46;log("get fuelty...
by Terry Gilliver
Mon Jan 23, 2017 3:24 pm
Forum: Moved from Get Satisfaction
Topic: mapping values to a checkbox
Replies: 2
Views: 305

mapping values to a checkbox

I am trying to set checkbox values via a mapping, This is the gui: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1540893/Capture1_inline.png?1485184837 The napping to the two checkbox groups are similar: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1540906/Capture4_inline.PNG?1485186074 https:/...
by Terry Gilliver
Mon Jan 23, 2017 12:39 pm
Forum: Moved from Get Satisfaction
Topic: Error trying to load a page using the jquery .load() method
Replies: 6
Views: 509

Error trying to load a page using the jquery .load() method

I have found out from my client that he can provide the embed code for this link and my problem is solved

by Terry Gilliver
Fri Jan 20, 2017 4:16 pm
Forum: Moved from Get Satisfaction
Topic: embeding code into a page
Replies: 1
Views: 278

embeding code into a page

I sorted it.

i removed the first script and downloaded embedmanager from the website and stored it in an external js file

by Terry Gilliver
Fri Jan 20, 2017 4:02 pm
Forum: Moved from Get Satisfaction
Topic: embeding code into a page
Replies: 1
Views: 278

embeding code into a page

I am trying to embed the following code into a html component: pre<a name="form366572289" id="formAnchor366572289"></a> <script type="text/javascript" src="https:&#47;&#47;fs18&#46;formsite&#46;com/include/form/embedManager&#46;js?366572289"...
by Terry Gilliver
Wed Jan 18, 2017 2:00 pm
Forum: Moved from Get Satisfaction
Topic: Error trying to load a page using the jquery .load() method
Replies: 6
Views: 509

Error trying to load a page using the jquery .load() method

Yes, it is to be used if user does not have android or ios

by Terry Gilliver
Tue Jan 17, 2017 2:34 pm
Forum: Moved from Get Satisfaction
Topic: Error trying to load a page using the jquery .load() method
Replies: 6
Views: 509

Error trying to load a page using the jquery .load() method

Yes, it works as a google .apk app, but not as a web app

by Terry Gilliver
Tue Jan 17, 2017 2:18 pm
Forum: Moved from Get Satisfaction
Topic: Panel Will Not Open
Replies: 2
Views: 269

Panel Will Not Open

Thanks Sergiy

by Terry Gilliver
Fri Jan 13, 2017 5:32 pm
Forum: Moved from Get Satisfaction
Topic: Error trying to load a page using the jquery .load() method
Replies: 6
Views: 509

Error trying to load a page using the jquery .load() method

I am getting the following error when running .load() method: XMLHttpRequest cannot load https://fs18.formsite.com/officeforms... . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' https://appery.io ' is therefore not allowed access. The javascript is: code Appe...
by Terry Gilliver
Fri Jan 13, 2017 4:06 pm
Forum: Moved from Get Satisfaction
Topic: Panel Will Not Open
Replies: 2
Views: 269

Panel Will Not Open

I have pages that were created from a template, which have a panel component, which slides out when clicking a button. I have now broke the page from the template maing it stand-alone. My problem is, since breaking the page away from the template the panel no longer opens when clicking the button. i...
by Terry Gilliver
Fri Jan 13, 2017 12:07 pm
Forum: Moved from Get Satisfaction
Topic: Updating pages created from a template
Replies: 4
Views: 334

Updating pages created from a template

Looking at the mappings to a list control, I see, Text, Visible, Image, Counter value, Counter Visible.

How would I map its click value?

by Terry Gilliver
Fri Jan 13, 2017 11:18 am
Forum: Moved from Get Satisfaction
Topic: Updating pages created from a template
Replies: 4
Views: 334

Updating pages created from a template

That sounds feasible, can you give a short example of this?

by Terry Gilliver
Thu Jan 12, 2017 5:52 pm
Forum: Moved from Get Satisfaction
Topic: Updating pages created from a template
Replies: 4
Views: 334

Updating pages created from a template

I have a menu in a list component on a slide-out panel that is on a template which I have used to create many pages. My client wants to re-order that menu. I f I do this on the template, it only works for newly created pages. Is there a way I can update these pages without editing each one individua...
by Terry Gilliver
Thu Jan 05, 2017 5:23 pm
Forum: Moved from Get Satisfaction
Topic: problem with stripe payment.
Replies: 8
Views: 578

problem with stripe payment.

Thanks Sergiy, must have missed that

by Terry Gilliver
Thu Dec 29, 2016 3:50 pm
Forum: Moved from Get Satisfaction
Topic: problem with stripe payment.
Replies: 8
Views: 578

problem with stripe payment.

Sorry there was an incorrect setting in the profile, you should be able to see it now, and you need to select card payment rather than cash or cheque

by Terry Gilliver
Tue Dec 20, 2016 10:59 am
Forum: Moved from Get Satisfaction
Topic: problem with stripe payment.
Replies: 8
Views: 578

problem with stripe payment.

Any update on this?

by Terry Gilliver
Fri Dec 16, 2016 10:54 am
Forum: Moved from Get Satisfaction
Topic: Can't access apperyio development system from Chrome on linux
Replies: 2
Views: 269

Can't access apperyio development system from Chrome on linux

I can no longer access the development ide on Linux Chrome. I am running Ubuntu 16.04 and Chrome Version 54.0.2840.100 (64-bit) When selecting the apps tab i just get the spinner as though it is trying to load. The console shows the following errors: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1...
by Terry Gilliver
Tue Dec 13, 2016 11:03 am
Forum: Moved from Get Satisfaction
Topic: Change Order of items in a jQuery Mobile List component.
Replies: 2
Views: 399

Change Order of items in a jQuery Mobile List component.

yes, I guess you could re-order them at run-time using javascript to manipulate the DOM. That's quite a good idea and I may do that in future, but it would be nice to be able to do it from Appery's development environment. It was more of a suggestion to the development team to add to their 'wish lis...
by Terry Gilliver
Mon Dec 12, 2016 12:48 pm
Forum: Moved from Get Satisfaction
Topic: problem with stripe payment.
Replies: 8
Views: 578

problem with stripe payment.

I have shared both apps with support. The working app: MyInvoiceBuddy pre login with username: terry password: ravine Click Invoices Click Payments Select an Invoice I entered: 4242 4242 4242 4242 for card number 11/18 for expiry date 123 for cvc Click Pay Now /pre Result: Payment is successful no c...
by Terry Gilliver
Thu Dec 08, 2016 6:48 pm
Forum: Moved from Get Satisfaction
Topic: dynamically change the color of a slider component
Replies: 2
Views: 263

dynamically change the color of a slider component

I wan't to change the color of a slider component based on it's value. I can get its value on the on change event with something like: codevar value = $(this)&#46;closest("input")&#46;val();/code I can change the color of the value field with: codeif (value === "1") { $(t...
by Terry Gilliver
Thu Dec 08, 2016 1:34 pm
Forum: Moved from Get Satisfaction
Topic: Anyone up for some work?
Replies: 4
Views: 583

Anyone up for some work?

If you are still looking, I might be interested as i am currently doing something similar for Driving Instructors using jQuery mobile to an external mysql database; Is the mySQL database already written, has it got a rest api associated with it? If not , can you remotely log on to the database, so t...
by Terry Gilliver
Thu Dec 08, 2016 12:27 pm
Forum: Moved from Get Satisfaction
Topic: Change Order of items in a jQuery Mobile List component.
Replies: 2
Views: 399

Change Order of items in a jQuery Mobile List component.

Currently When you add a list component, items are added consecutively. I often would like to add extra items, but not necessarily at the end, or I may want to re-order the items. Currently the only way to do this is to create the component from scratch or edit the html, which as we know will break ...
by Terry Gilliver
Thu Dec 08, 2016 12:19 pm
Forum: Moved from Get Satisfaction
Topic: alert boxes with a timeout (no need to click ok)
Replies: 0
Views: 470

alert boxes with a timeout (no need to click ok)

I have small javascript functions, which I think may be useful to others: I use these regularly in my service call events pre/** Add a timeout alert function * */ function Alert(msg,duration=3000) { var el = document&#46;createElement("div"); el&#46;setAttribute("style", ...
by Terry Gilliver
Tue Dec 06, 2016 12:35 pm
Forum: Moved from Get Satisfaction
Topic: problem with stripe payment.
Replies: 8
Views: 578

problem with stripe payment.

I have a stripe payment set up in my app, but is returning 401 Unauthorised. Also invalid key: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1519460/Capture_inline.PNG?1481027474 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1519467/Capture1_inline.png?1481028405 I am using "Bearer<space>sk...
by Terry Gilliver
Tue Dec 06, 2016 12:24 pm
Forum: Moved from Get Satisfaction
Topic: Error In API Express
Replies: 5
Views: 430

Error In API Express

Thanks Illya

by Terry Gilliver
Mon Dec 05, 2016 10:58 am
Forum: Moved from Get Satisfaction
Topic: Error In API Express
Replies: 5
Views: 430

Error In API Express

Is there any update on this issue?

by Terry Gilliver
Thu Dec 01, 2016 11:38 am
Forum: Moved from Get Satisfaction
Topic: Error In API Express
Replies: 5
Views: 430

Error In API Express

What you see in the image are the url structures. What exactly do you mean by GUID of the API Express project?

Do you mean this url:

https://appery.io/apiexpress/projects...

by Terry Gilliver
Tue Nov 29, 2016 4:22 pm
Forum: Moved from Get Satisfaction
Topic: Load data in batches
Replies: 1
Views: 269

Load data in batches

I don't know mongodb that well, but i have done something similar MySQL using LIMIT and OFFSET. The equivalent will be .limit() and .skip() functions.. You need to make multiple calls to the db using the limit() function and the skip() function. limit limits the number of records per call to the db,...
by Terry Gilliver
Tue Nov 29, 2016 3:34 pm
Forum: Moved from Get Satisfaction
Topic: Error In API Express
Replies: 5
Views: 430

Error In API Express

I am getting an error with API express. I created the following: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1516207/Capture_inline.PNG?1480433534 If i try and save this I get an error that the endpoint already exists: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1516208/Capture4_inline.PNG?1...
by Terry Gilliver
Fri Nov 25, 2016 2:11 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

OK, i have found a css workaround:

pre#ClientEditor_mobilecontainer {
padding: 15px;
}/pre

This appears to function correctly when the app is run.

by Terry Gilliver
Fri Nov 25, 2016 1:57 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

my other worry is that the class name could change from"_20" anyhow if the page is modified.

by Terry Gilliver
Fri Nov 25, 2016 1:55 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

Basically, if I can override the padding in the page css for the "mobileworkarea" which is "ClientEditor_mobileworkarea_20". I tried adding to a css file pre &#46;ClientEditor_mobileworkarea_20 { padding: 15px; } /pre This is ignored as it is receiving its setting from the pa...
by Terry Gilliver
Fri Nov 25, 2016 1:35 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

sorry, just realised padding is a style and not a property

by Terry Gilliver
Fri Nov 25, 2016 1:24 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

i tried setting the grid width to auto, which looks great in the developer, but when the app is tested the buttons shrink and move to the left.

by Terry Gilliver
Fri Nov 25, 2016 1:18 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

It is in a template, I removed the padding from the "mobilecontainer" in the template, because i wanted some of my pages to fit right to the edge. i therefore need to compensate for that by putting back the 15px that I removed on individual pages. I tried settting padding on the mobile are...
by Terry Gilliver
Wed Nov 23, 2016 6:42 pm
Forum: Moved from Get Satisfaction
Topic: right margin on grid has no effect
Replies: 8
Views: 565

right margin on grid has no effect

I have added a grid containing two buttons. i have added a left and right margin to the grid of 15px. The left margin is ok, but the right margin seems to have no effect no matter what the value. note that the Cancel button stretches all the way to the right. https://d2r1vs3d9006ap.cloudfront.net/s3...
by Terry Gilliver
Tue Nov 22, 2016 1:22 pm
Forum: Moved from Get Satisfaction
Topic: message: Script max. length is 5000 characters. This script has more than 5000 characters.
Replies: 2
Views: 232

message: Script max. length is 5000 characters. This script has more than 5000 characters.

Ok, no problem,

when I used the api in a jquery mobile app, I was able to import the response from there

by Terry Gilliver
Tue Nov 22, 2016 12:52 pm
Forum: Moved from Get Satisfaction
Topic: generated token to use in another service
Replies: 1
Views: 187

generated token to use in another service

I am not sure if I understand, you have retrieved a token from an external rest service. You now want to pass that token to a second rest service. Is that correct? I think you will need to have a function call in the second rest service that takes that token and makes use of it. You can make a call ...
by Terry Gilliver
Tue Nov 22, 2016 12:33 pm
Forum: Moved from Get Satisfaction
Topic: message: Script max. length is 5000 characters. This script has more than 5000 characters.
Replies: 2
Views: 232

message: Script max. length is 5000 characters. This script has more than 5000 characters.

I am using apiexpress to configure an external rest request, If I test the request it works fine, but the Gnerate button causes the above error, so I can't import the response. Is my only option to type in the response fields manually? If I use Test it works fine: https://d2r1vs3d9006ap.cloudfront.n...
by Terry Gilliver
Mon Nov 21, 2016 12:10 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

Sorted Thanks

by Terry Gilliver
Mon Nov 21, 2016 12:08 pm
Forum: Moved from Get Satisfaction
Topic: Can't import a api express service
Replies: 4
Views: 560

Can't import a api express service

I think that was the problem, but it was not listed under the name I expected it to be. Thanks Max.

by Terry Gilliver
Tue Nov 08, 2016 12:08 pm
Forum: Moved from Get Satisfaction
Topic: Hide Button
Replies: 6
Views: 789

Hide Button

It should work for all list items, try checking the value of 'value' in the js and then altering the code above. Notice if (value === undefined) worked for me, but Josiel also needed to check for a null string if (value === undefined || value === ""). It might be that you are checking for ...
by Terry Gilliver
Tue Nov 08, 2016 12:00 pm
Forum: Moved from Get Satisfaction
Topic: api express service always generate success
Replies: 3
Views: 316

api express service always generate success

Ok I got round the problem using the following js in the success response: pre&#47;&#47; check for 401 response var responseBody = this&#46;response&#46;body&#46;BODY; console&#46;log('response body = ',responseBody); if(responseBody&#46;error) { var errorCode = responseB...
by Terry Gilliver
Tue Nov 08, 2016 11:37 am
Forum: Moved from Get Satisfaction
Topic: api express service always generate success
Replies: 3
Views: 316

api express service always generate success

I have a login service which uses api express to connect with my backend rest service. My question is, it always generate a success even when the http response is 401. see image from console: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1507217/unauth_inline.png?1478604945 I imagined that a 401 r...
by Terry Gilliver
Tue Nov 08, 2016 11:26 am
Forum: Moved from Get Satisfaction
Topic: can't delete service mappings
Replies: 4
Views: 446

can't delete service mappings

Seems to be working today, must have been a bad internet connection or something.

by Terry Gilliver
Tue Nov 08, 2016 11:25 am
Forum: Moved from Get Satisfaction
Topic: Can't import a api express service
Replies: 4
Views: 560

Can't import a api express service

tried it on another pc today and the problem has gone away, i can now import the service ok

by Terry Gilliver
Mon Nov 07, 2016 4:39 pm
Forum: Moved from Get Satisfaction
Topic: Can't import a api express service
Replies: 4
Views: 560

Can't import a api express service

trying to import an api express service and although the service is selected, getting the following message ( I have cleared the browser cache )

Image

by Terry Gilliver
Mon Nov 07, 2016 4:34 pm
Forum: Moved from Get Satisfaction
Topic: can't delete service mappings
Replies: 4
Views: 446

can't delete service mappings

tried this, it didn't fix the issue

by Terry Gilliver
Fri Nov 04, 2016 1:18 pm
Forum: Moved from Get Satisfaction
Topic: can't delete service mappings
Replies: 4
Views: 446

can't delete service mappings

I have created an api express service and in my jquery mobile app have added the service and started adding mappings. I accidentally made a wrong connection on the mappings, so I decided to select the line, a red x appears, but when I click on it, the mapping does not get deleted. Short of removing ...
by Terry Gilliver
Fri Nov 04, 2016 11:07 am
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

no I don't have it fixed, only that the API Express works the way it should. I haven't been using API express, so, if you think i should use that instead of creating my own services in the app, can you point me to some documentation / videos which will help me understand how to use API express corre...
by Terry Gilliver
Fri Nov 04, 2016 11:06 am
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

no I don't have it fixed, only that the API Express works the way it should. I haven't been using API express, so, if you think i should use that instead of creating my own services in the app, can you point me to some documentation / videos which will help me understand how to use API express corre...
by Terry Gilliver
Thu Nov 03, 2016 4:47 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

using API express, I get the following response for a valid login: pre{ "BODY": { "id": 4, "firstname": "", "lastname": "", "businessname": "", "gender": "", "mobile": "", "em...
by Terry Gilliver
Thu Nov 03, 2016 3:35 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

If try with the proxy disabled, there is no response: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1505160/Capture_inline.PNG?1478187203 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1505161/Capture1_inline.PNG?1478187251 I have never used api express, so I am unsure how to send the request fro...
by Terry Gilliver
Tue Nov 01, 2016 11:43 am
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

images from the network tab:

Image

Image

by Terry Gilliver
Tue Nov 01, 2016 11:11 am
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

I am actually getting an error code of 400 Bad Request when the service is called from the app. but the service test works correctly returning an error code of 401 Unauthorized

by Terry Gilliver
Wed Oct 26, 2016 9:35 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

I have emailed this to you, Hope you got it ok

by Terry Gilliver
Tue Oct 25, 2016 3:00 pm
Forum: Moved from Get Satisfaction
Topic: stripe payments error
Replies: 5
Views: 481

stripe payments error

Actually I reverted back to an older version of their code which i had used before. I wanted to make the stripe payment reference as part of the database. I did not use their method using the API express service. i got the stripe token from the database (so that each user of the app could have their...
by Terry Gilliver
Thu Oct 06, 2016 1:34 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

The responses shown above by appery test option are correct and postman gives the same results, also correct. It is only when I call the service from my app that it fails and then only when the login details are incorrect.

by Terry Gilliver
Wed Oct 05, 2016 12:34 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

During a valid login, the app works ok, returning the correct values, but it returns the wrong response for an invalid login.

by Terry Gilliver
Wed Oct 05, 2016 12:29 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

I wrote the rest service myself and it expects the parameters in the body. Here is proof that it works correctly: First using a valid login: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1493090/Capture1_inline.PNG?1475670408 Then the invalid login: https://d2r1vs3d9006ap.cloudfront.net/s3_images/...
by Terry Gilliver
Tue Oct 04, 2016 9:10 am
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

FYI alertError() is just a simple popup div which shows an error message.

by Terry Gilliver
Tue Oct 04, 2016 9:05 am
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

To Clarify, it is a login screen, connecting to an external database. If you enter correct login details, then it works correctly. if you enter incorrect details, then it causes an exception which returns status 401 "Unauthorized" as shown in the above error condition. This works on the te...
by Terry Gilliver
Mon Oct 03, 2016 4:57 pm
Forum: Moved from Get Satisfaction
Topic: Error response for service
Replies: 23
Views: 2333

Error response for service

I have a rest service call that responds as expected using the service test facility. The error response (in the case of an error) gives for example: pre{ "status": 401, "uri": "http:&#47;&#47;owd&#46;comp-solutions&#46;org&#46;uk/instructor/login", ...
by Terry Gilliver
Fri Sep 23, 2016 9:46 am
Forum: Moved from Get Satisfaction
Topic: background image
Replies: 3
Views: 339

background image

I did find on examination of my image in fireworks, that it had a transparent bar down each side, which accounted for the 'white' bar on the left. just something to look out for as most image viewers won't show this as transparencies will allow the background to "show through".

by Terry Gilliver
Tue Sep 20, 2016 3:35 pm
Forum: Moved from Get Satisfaction
Topic: creating custom templates
Replies: 2
Views: 265

creating custom templates

Thanks, Egor

by Terry Gilliver
Sun Sep 18, 2016 2:33 pm
Forum: Moved from Get Satisfaction
Topic: background image
Replies: 3
Views: 339

background image

Sorted.

Adding background-position: center; fixed the problem.

by Terry Gilliver
Sun Sep 18, 2016 2:25 pm
Forum: Moved from Get Satisfaction
Topic: background image
Replies: 3
Views: 339

background image

I have added a background image to my page using the following css: pre &#46;wallpaper { background-image: url("&#46;&#46;/img/bg&#46;png"); background-repeat: no-repeat; background-size: cover; } /pre The resultant background has a white bar on the left which I cannot acco...
by Terry Gilliver
Sun Sep 18, 2016 1:57 pm
Forum: Moved from Get Satisfaction
Topic: creating custom templates
Replies: 2
Views: 265

creating custom templates

When I try to create a new app is there is a tab which says'custom templates',

how do i create a custom template from an existing app. The documentation for this appears to be either non-existent or hidden very deeply in your new 'improved' documentation.

by Terry Gilliver
Thu Sep 08, 2016 2:11 pm
Forum: Moved from Get Satisfaction
Topic: open an external link within the app so that I can keep header and footer etc
Replies: 4
Views: 597

open an external link within the app so that I can keep header and footer etc

No I still have a problem, it doesn't work with secure pages. You can't access pages with the https: protocol, only http

by Terry Gilliver
Thu Sep 08, 2016 1:53 pm
Forum: Moved from Get Satisfaction
Topic: open an external link within the app so that I can keep header and footer etc
Replies: 4
Views: 597

open an external link within the app so that I can keep header and footer etc

I think, that I have found a solution: I added the following js to the load event of the page: pre $(window)&#46;resize(function () { Apperyio("html_3")&#46;css("height", ($(window)&#46;height()-76) + "px"); }); Apperyio("html_3")&#46;css("...
by Terry Gilliver
Thu Sep 08, 2016 11:43 am
Forum: Moved from Get Satisfaction
Topic: open an external link within the app so that I can keep header and footer etc
Replies: 4
Views: 597

open an external link within the app so that I can keep header and footer etc

I want to open an external link inside a window within a page, keeping header and footer etc. Can I do this? I have tried an iframe inside a html component, but I can't seem to size it to fit available space and it always appears as a small window with scrollbars. I have tried: windows.open("[u...
by Terry Gilliver
Mon Aug 22, 2016 10:26 am
Forum: Moved from Get Satisfaction
Topic: Hide Button
Replies: 6
Views: 789

Hide Button

Glad i could help

by Terry Gilliver
Fri Aug 19, 2016 2:39 pm
Forum: Moved from Get Satisfaction
Topic: Hide Button
Replies: 6
Views: 789

Hide Button

Try this: click on js next to the whatlabel text field and add the following javascript: pre if (value === undefined) { Apperyio("whatsapp")&#46;hide(); } else { Apperyio("whatsapp")&#46;show(); } return value; /pre Hopefully this will hide the whatsapp button if the corr...
by Terry Gilliver
Fri Aug 19, 2016 12:50 pm
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

Yes, it's working fine, but remember it is not running directly on appery it is running on a separately hosted system which runs PHP and MySQL. I am connecting to that system using appery.io rest services. The PHP program itself is a rest server based on Jacob Wright's PHP Rest server available on G...
by Terry Gilliver
Thu Aug 18, 2016 5:03 pm
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

if you give me your email address, I will happily send you the php rest service. You can modify it for your own needs. It is just too large to post here.

by Terry Gilliver
Thu Aug 18, 2016 12:32 pm
Forum: Moved from Get Satisfaction
Topic: stripe payments error
Replies: 5
Views: 481

stripe payments error

I tested you service with sample data and it doesn't work:

Image

by Terry Gilliver
Thu Aug 18, 2016 10:26 am
Forum: Moved from Get Satisfaction
Topic: Integrate Image Cropper plugin
Replies: 1
Views: 304

Integrate Image Cropper plugin

You would have to include the cdn in external resources in app settings, if it is dependent on bootstrap, that library would need to be included also. create a css file to contain the css and then add the javascript code as an event in your page, perhaps as a button click event. If you give me more ...
by Terry Gilliver
Thu Aug 18, 2016 10:08 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

No, I have my own service written in php on a separate server, I wrote a function on that server which is executed using a rest service from appery.io

by Terry Gilliver
Thu Aug 18, 2016 10:01 am
Forum: Moved from Get Satisfaction
Topic: js in template not carried through to pages
Replies: 7
Views: 736

js in template not carried through to pages

The Problem is with the app builder itself. If you make a change on a template then isn't it supposed to update the pages built from that template? If not what is the point of having templates? I have made changes to the javascript template load event, but the changes are not seen in the dependent p...
by Terry Gilliver
Tue Aug 16, 2016 3:34 pm
Forum: Moved from Get Satisfaction
Topic: stripe payments error
Replies: 5
Views: 481

stripe payments error

OK fixed 1.

line 9 of your js file should read

$('[name=errorCardLabel]').text(obj.message);

not

$('[name=errorCardLabel]').text(obj.error.message);

however, i still unsure as to why I have an error

by Terry Gilliver
Tue Aug 16, 2016 3:02 pm
Forum: Moved from Get Satisfaction
Topic: stripe payments error
Replies: 5
Views: 481

stripe payments error

I tried your stripe payments tutorial and got the following error: StripePayment_JS.js:9 Uncaught TypeError: Cannot read property 'message' of undefined https://d2r1vs3d9006ap.cloudfront.net/s3_images/1467855/Capture_inline.PNG?1471359745 There appears to be two issues here: your error handler doesn...
by Terry Gilliver
Tue Aug 16, 2016 11:44 am
Forum: Moved from Get Satisfaction
Topic: problem with js function not working on one page
Replies: 3
Views: 328

problem with js function not working on one page

Hi, Thanks for that Illya, I know now what happened. By removing the time out so that the div was left permanently on the screen, I found out that the problem is because the page size is bigger than the view window, it has actually scrolled off the screen! By changing the positioning from absolute t...
by Terry Gilliver
Mon Aug 15, 2016 6:03 pm
Forum: Moved from Get Satisfaction
Topic: problem with js function not working on one page
Replies: 3
Views: 328

problem with js function not working on one page

I tried adding breakpoints to the function and can see the function being executed, but the div is not being shown. It's really strange.

by Terry Gilliver
Mon Aug 15, 2016 12:16 pm
Forum: Moved from Get Satisfaction
Topic: problem with js function not working on one page
Replies: 3
Views: 328

problem with js function not working on one page

I have a function which is similar to an alert(), but with a timeout so that it disappears after a certain amount of time: pre /** Add a timeout alert function * */ function Alert(msg,duration) { var el = document&#46;createElement("div"); el&#46;setAttribute("style", &qu...
by Terry Gilliver
Thu Aug 04, 2016 8:43 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

I have tried on another Android device, and that doesn't work either. I have come to the conclusion that pdf/mobile compatibility is 'iffy'. My solution was to take the pdf, upload it to my rest server, which converts it to a jpg and sends it back to appery.io app. As an image it is easy to display ...
by Terry Gilliver
Thu Aug 04, 2016 8:38 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

I have given up with sendgrid and decided to use my own rest service to send emails using PHPMailer. Much easier

by Terry Gilliver
Thu Aug 04, 2016 7:32 am
Forum: Moved from Get Satisfaction
Topic: How to implement external JS scripts? (e.g. Adding fastclick.js to your app)
Replies: 1
Views: 288

How to implement external JS scripts? (e.g. Adding fastclick.js to your app)

I have not used fastclick but in general this should work...

add the cdn to external resources in app settings:

https://cdnjs.cloudflare.com/ajax/lib...

or create a new js file and copy and paste the contents of the js file there.

by Terry Gilliver
Thu Jul 28, 2016 4:07 pm
Forum: Moved from Get Satisfaction
Topic: display the contents of a service request, as it will be sent to the rest service
Replies: 2
Views: 272

display the contents of a service request, as it will be sent to the rest service

Is it possible to view what is sent in a rest api request for the purposes of debugging?

by Terry Gilliver
Thu Jul 28, 2016 2:55 pm
Forum: Moved from Get Satisfaction
Topic: change javascript load order
Replies: 2
Views: 235

change javascript load order

creating them in reverse order seems to work, thanks

by Terry Gilliver
Thu Jul 28, 2016 12:58 pm
Forum: Moved from Get Satisfaction
Topic: js in template not carried through to pages
Replies: 7
Views: 736

js in template not carried through to pages

mainTemplate load event: pre&#47;&#47;this indicates how complete aprofile is: &#47;&#47;There are 20 profile items, so for every completed item &#47;&#47;we add 5%&#46; This is than saved in the lititem counter value var profileCompleteness = 0, key; for (key in Apperyio...
by Terry Gilliver
Wed Jul 27, 2016 4:45 pm
Forum: Moved from Get Satisfaction
Topic: js in template not carried through to pages
Replies: 7
Views: 736

js in template not carried through to pages

I have altered the javascript of a template load event. This has been saved correctly, but the changes have not rippled through to the pages which are dependendent on that template.

Any ideas

by Terry Gilliver
Wed Jul 27, 2016 2:33 pm
Forum: Moved from Get Satisfaction
Topic: change javascript load order
Replies: 2
Views: 235

change javascript load order

Is it possible to change the order in which javascript files are loaded using jquery mobile apps?

by Terry Gilliver
Tue Jul 26, 2016 11:15 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

Ok, SendGrid was bouncing my emails due to a previous error (mailbox full). This is now fixed, and I am receiving the text part of my emails. The api_key_proxy also seems to be working when called from the app. There is, however no attachment with the email, but here are no console errors from the f...
by Terry Gilliver
Mon Jul 25, 2016 4:11 pm
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

Ok Just set up a email service: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1455711/servicesettings_inline.PNG?1469462875 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1455713/requestheaders_inline.PNG?1469462931 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1455714/requestquerystring_inline...
by Terry Gilliver
Mon Jul 25, 2016 11:00 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

This is what I have come up with... Can you let me know if it looks ok? pre/** uploads a biary file (base64) using browserapi */ function uploadBinaryHelper(datasource, imageBase64Data, name, type) { if (imageBase64Data) { &#47;&#47; strip header var byteCharacters = atob(imageBase64Data&...
by Terry Gilliver
Mon Jul 25, 2016 10:15 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

Checking out your video again, i think that I just need to change the uploadBinary Helper function. How do I change this to work with pdf's rather than images. My pdf is already stored as a data uri:

Image

by Terry Gilliver
Mon Jul 25, 2016 7:05 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

Thanks Max,

Can you let me know when the plugin has been updated?

by Terry Gilliver
Sun Jul 24, 2016 12:08 pm
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

I notice in the sample server code, it asks for the sendgrid api key, but not the username, surely the username is also required? pre&#47;&#47; This script sends an email using SendGrid API&#46; &#47;&#47; To test the script, enter 'to', 'subject', 'text' params in &#47;&...
by Terry Gilliver
Sun Jul 24, 2016 10:17 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

I have looked at the plugin, and it seems to make a call to non existent server code. As far as I can see it doesn't do much. I can't find any supporting docs either.

by Terry Gilliver
Sun Jul 24, 2016 9:30 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

I have created a pdf which is stored in a javascript variable as a dataurl. I need to email this as an attachment

by Terry Gilliver
Sun Jul 24, 2016 9:28 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

I understand that the plugin is just a sample app, but is there any sample code that shows how attachments work with appery

by Terry Gilliver
Fri Jul 22, 2016 9:55 am
Forum: Moved from Get Satisfaction
Topic: Sendgrid
Replies: 22
Views: 2219

Sendgrid

The sendgrid training video includes the ability to send photographs as attachments, the available plugin does not include the photo upload ability, Is the other plugin available somewhere?

by Terry Gilliver
Thu Jul 21, 2016 1:37 pm
Forum: Moved from Get Satisfaction
Topic: value change event on label component doesn't fire
Replies: 3
Views: 261

value change event on label component doesn't fire

Ok Sorted. I used the following code: pre &#47;&#47; change image src when label changed $('[name=base64_image]')&#46;bind("DOMSubtreeModified", function() { var imagedata = Apperyio('base64_image')&#46;text(); console&#46;log('imagedata: ', imagedata); &#47;&#4...
by Terry Gilliver
Thu Jul 21, 2016 1:04 pm
Forum: Moved from Get Satisfaction
Topic: value change event on label component doesn't fire
Replies: 3
Views: 261

value change event on label component doesn't fire

the label is inserted after a javascript function has completed. I tried getting the value immediately after, but the label hadn't been changed at that point.

by Terry Gilliver
Thu Jul 21, 2016 9:43 am
Forum: Moved from Get Satisfaction
Topic: value change event on label component doesn't fire
Replies: 3
Views: 261

value change event on label component doesn't fire

I have a label which is programatically loaded with an image dataurl, When its value has changed, I want it to copy the data into the src attribute of an image component. Here is the js for the Value Change event: pre alert('value changed'); var imagedata = $(this)&#46;text(); console&#46;lo...
by Terry Gilliver
Thu Jul 21, 2016 7:09 am
Forum: Moved from Get Satisfaction
Topic: How to pass the press key to Keydown event
Replies: 5
Views: 628

How to pass the press key to Keydown event

You can check that e exists by a test in your javascript: if (e) { console.log('keydown event: ',e); } else { console.log('event variable does not exist'); } Assuming e does exist you may be able the check the object contents using the console. It appears that the e.keyCode is not available on all b...
by Terry Gilliver
Wed Jul 20, 2016 4:19 pm
Forum: Moved from Get Satisfaction
Topic: How to pass the press key to Keydown event
Replies: 5
Views: 628

How to pass the press key to Keydown event

You don't have to pass a value for 'e', it is the event object and e.keycode will contain 32 if someone clicks . I am unsure, however, if this has relevance to a mobile device.

by Terry Gilliver
Wed Jul 20, 2016 11:12 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

Just a quick thought, Evgene mentioned Android permissions, could it be a permissions issue?

by Terry Gilliver
Wed Jul 20, 2016 10:29 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

I am beginning to suspect the device is behaving strangely. I have set location to yes in the InAppBrowser and it is showing what appears to be the correct uri for the pdf. It begins: [url=http://data:application/pdf;base64,JVBERio]http://data:application/pdf;base64,JV...[/url]... I am guessing that...
by Terry Gilliver
Wed Jul 20, 2016 9:13 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

I found a sample cordova/jsPDF app on Github containing the following js: prevar JutoPDFCreator = { createPDF: function(filename) { var doc = new jsPDF(); doc&#46;text(20, 20, 'Hello world!'); doc&#46;text(20, 30, 'This is client-side Javascript, pumping out a PDF&#46;'); doc&#46;add...
by Terry Gilliver
Wed Jul 20, 2016 7:19 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

I don't believe that there will be on on-line solution to something that is only related to an appery app

by Terry Gilliver
Tue Jul 19, 2016 12:10 pm
Forum: Moved from Get Satisfaction
Topic: Convert a local image to a Data URI
Replies: 2
Views: 225

Convert a local image to a Data URI

Found a solution: define a javascript function: code File&#46;prototype&#46;convertToBase64 = function(callback){ var reader = new FileReader(); reader&#46;onload = function(e) { callback(e&#46;target&#46;result) }; reader&#46;onerror = function(e) { callback(null); }; reader...
by Terry Gilliver
Mon Jul 18, 2016 5:37 pm
Forum: Moved from Get Satisfaction
Topic: Convert a local image to a Data URI
Replies: 2
Views: 225

Convert a local image to a Data URI

I am trying to convert an image to a data uri. i found the following function on the Internet: code&#47;&#47;get image dataurl function getBase64FromImageUrl(url) { var img = new Image(); img&#46;setAttribute('crossOrigin', 'anonymous'); img&#46;onload = function () { var canvas = do...
by Terry Gilliver
Mon Jul 18, 2016 9:31 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

just a little nudge, system doesn't seem to realise that I have replied

by Terry Gilliver
Mon Jul 18, 2016 7:42 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

Ok, I have tried weinre debugging and there are no errors in the console.

I added some console.log statements in the pdf script and it seems to execute them perfectly, just not showing up on the display.

by Terry Gilliver
Thu Jul 14, 2016 1:25 pm
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

I think that the best thing to do is share the app with you. The app is called MyInvoiceBuddy. If you log on as username 'terry', password 'ravine', click Invoices off the menu and then click View PDF of Invoice, you will see a sample invoice come up in the testing browser. It will not work as an ap...
by Terry Gilliver
Wed Jul 13, 2016 11:51 am
Forum: Moved from Get Satisfaction
Topic: Stripe payments
Replies: 2
Views: 213

Stripe payments

OK, Thanks Illya, i will look into that.

by Terry Gilliver
Wed Jul 13, 2016 11:19 am
Forum: Moved from Get Satisfaction
Topic: jsPDF not working on device
Replies: 13
Views: 894

jsPDF not working on device

Just checked, viewing on chrome browser on device and it works ok, just not as an apk Maybe what I need to do is execute the code in an In App Browser? If so is it possible to execute javascript in an In App Browser from the calling app? The problem with this idea is that i would probable have to wr...