Some ios devices can't log in

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

andreu.honzawa
Posts: 27
Joined: Thu Jan 16, 2020 1:41 pm

Some ios devices can't log in

Post by andreu.honzawa »

Hi,
I'm testing the 2.7 cyclos app and I found a strange thing, when I'm in the ios simulator and debugging I can log in but when I put the app on the app store and download it in a real device the login button doesn't do nothin(no errors shown in the screen) We test it with the same user and we test registering a new user and the register and validating user work. Why this happen? is some misconfiguration?

Thanks

alexandre
Posts: 913
Joined: Wed Sep 06, 2006 9:06 am

Re: Some ios devices can't log in

Post by alexandre »

Hi,

Can you send the app link to download, so we can test here. Also in what phone, IOS version you are testing?
And what is the version of Cyclos?

Also you can try to use our mobile to connect and check if it work fine.

Regards
Alexandre Caurrinhos
Cyclos development team.

andreu.honzawa
Posts: 27
Joined: Thu Jan 16, 2020 1:41 pm

Re: Some ios devices can't log in

Post by andreu.honzawa »

alexandre wrote:
Wed Jun 03, 2020 9:21 am
Hi,

Can you send the app link to download, so we can test here. Also in what phone, IOS version you are testing?
And what is the version of Cyclos?

Also you can try to use our mobile to connect and check if it work fine.

Regards
The URL is:
https://apps.apple.com/us/app/hudson-va ... ?l=ca&ls=1

I tested with 13.3.1,13.4.1 and 13.5.1 iphone and ipad
the cylcos version is 4.12.6

I tested the cyclos 4 app in app store and it works in all devices in the demo.cyclos.org network, I must check it with our network( I tested it, it works ).

alexandre
Posts: 913
Joined: Wed Sep 06, 2006 9:06 am

Re: Some ios devices can't log in

Post by alexandre »

Hi,

Please check our app with your network.

regards
Alexandre Caurrinhos
Cyclos development team.

andreu.honzawa
Posts: 27
Joined: Thu Jan 16, 2020 1:41 pm

Re: Some ios devices can't log in

Post by andreu.honzawa »

We tried your Cyclos 4 mobil app in our network https://cyclos.hudsonvalleycurrent.org/cyclos/ and it works

test user: patofet - 123456789

regards

alexandre
Posts: 913
Joined: Wed Sep 06, 2006 9:06 am

Re: Some ios devices can't log in

Post by alexandre »

So it's something related to your customization.
Can you review the steps, and made sure you followed the steps If the manual from the 2.7 package.

Regards
Alexandre Caurrinhos
Cyclos development team.

andreu.honzawa
Posts: 27
Joined: Thu Jan 16, 2020 1:41 pm

Re: Some ios devices can't log in

Post by andreu.honzawa »

alexandre wrote:
Wed Jun 03, 2020 12:01 pm
So it's something related to your customization.
Can you review the steps, and made sure you followed the steps If the manual from the 2.7 package.

Regards
I redownload the last version of the app and recompiled it following the manual, the only changes not listed in the manual are the following:
- I don't check the "Automatically manage signing", I make a manual signing and I can send it to the app store so I suppose that this is not the problem.
- I modified the file "obile_dir\iOS\Xcode\www\js\properties.js" in order to put the URL of the server, the contents are this:

Code: Select all

/* 
 * Cyclos Mobile Configuration
 * 
 * Possible options
 * 
 * Fixed URL
 * hostUrl: "http://www.cyclos.org/cyclos_en"
 * 
 * Mobile application version
 * version: "1.0"
 *
 * Mobile application build number
 * buildNumber: "1.0"
 * 
 * Debug flag used to enable debug log level.
 * If false only error, warning and info will be enabled.
 * debug: true/false
 * 
 * Use only builtin translations 
 * If true all customized translations in Cyclos will be ignored 
 * useOnlyBuiltinTranslations: true/false
 * 
 * Use built in background image
 * If true the login background image won't be downloaded from Cyclos theme
 * useBuiltinImage: true/false
 * 
 * Receive payment flow
 * When the property is set the payment flow cannot be changed by the user
 * paymentFlow: "user_first"/"amount_first"
 * 
 * Screen capturing (android only)
 * If you want to disable screen capturing to improve security please set
 * allowScreenCapturing: true/false
 * 
 * Order of phones and address at registration
 * They can be displayed above custom fields or below them
 * phonesAddressAboveFields: true/false 
 * 
 * Set PIN at startup
 * How many times the user is prompted to set a PIN after login (1 or higher enables this feature).
 * pinPrompt: 5
 * 
 * Set as Trusted Device at startup
 * How many times the user is prompted to set as Trusted Device after login (1 or higher enables this feature).
 * trustedDevicePrompt: 3
 * 
 */
var options = {
		debug: 'false',
		version: '2.7',
		buildNumber : '2020/05/26 14:49',
		phonesAddressAboveFields : true,
		pinPrompt: 1,
		trustedDevicePrompt: 1,
        hostUrl: "https://cyclos.hudsonvalleycurrent.org/cyclos"
};
but apple say this:

Code: Select all

We discovered one or more bugs in your app when reviewed on iPad running iOS 13.5 on Wi-Fi.

Specifically, after tapping on the login button to sign in with the demo account, no action took place in your app. We were unable to proceed with the login in your app.

alexandre
Posts: 913
Joined: Wed Sep 06, 2006 9:06 am

Re: Some ios devices can't log in

Post by alexandre »

Sorry, we could not reproduce your problem even with the app you already uploaded to the store, it does not seem to be an issue with iOS versions either, we have tested with 13.4, 13.5.1 . We could login successfully with the user you have provided. Currently we don't have any ipad to test. Please inform us the iphone and ipad models you are using (which are affected). Also, test a minimal login button action by for example leaving fields in blank so a 'client side' validation will be triggered, test also an incorrect user/password just to trigger a different behavior to determine where the problem is.
Alexandre Caurrinhos
Cyclos development team.

andreu.honzawa
Posts: 27
Joined: Thu Jan 16, 2020 1:41 pm

Re: Some ios devices can't log in

Post by andreu.honzawa »

Hi,

The message that we got from the iOS Store is this one: "We discovered one or more bugs in your app when reviewed on iPad running iOS 13.5 on Wi-Fi. Specifically, after tapping on the login button to sign in with the demo account, no action took place in your app. We were unable to proceed with the login in your app." It is exactly the same issue that we found and you could not reproduce yet.

We will follow your guidelines, and hope we can solve this issue as soon as possible as this is causing delays in our project delivery.

Thank you,
Andreu

alexandre
Posts: 913
Joined: Wed Sep 06, 2006 9:06 am

Re: Some ios devices can't log in

Post by alexandre »

Hi,

Follow the 2.7 guide. It has some diferences from the older version.
Alexandre Caurrinhos
Cyclos development team.

Xebax
Posts: 19
Joined: Fri Nov 16, 2012 1:19 pm

Re: Some ios devices can't log in

Post by Xebax »

Hi,

We have exactly the same problem here.

We have downloaded the 2.7 version and customized it for iOS as described in the guide. The only differences are:
- Xcode did not prompt to install anything
- we have modified the properties.js file to set the 'hostUrl' parameter

The application works as expected on the simulator but when we run it on a test device, we cannot login. When pressing the login button, nothing happens and the following message is displayed in Xcode:

Code: Select all

2020-06-12 16:26:53.789702+0200 euskopay[5930:1588156] THREAD WARNING: ['TouchID'] took '154.593018' ms. Plugin should use a background thread.
2020-06-12 16:26:53.807085+0200 euskopay[5930:1588156] Error in Success callbackId: TouchID571480458 : TypeError: callback.success.apply is not a
function. (In 'callback.success.apply(null, args)', 'callback.success.apply' is undefined)
2020-06-12 16:26:53.807905+0200 euskopay[5930:1588156] callbackFromNative@file:///private/var/containers/Bundle/Application/48C0D86C-F8B9-46B4-B3B1-EDE8D85B899D/euskopay.app/www/cordova.js:295:63
file:///private/var/containers/Bundle/Application/48C0D86C-F8B9-46B4-B3B1-EDE8D85B899D/euskopay.app/www/plugins/cordova-plugin-wkwebview-engine/src/www/ios/ios-wkwebview-exec.js:129:35
promiseReactionJob@[native code]
We have tested with 2 devices:
- iPhone SE running iOS 13.5
- iPhone 7 running iOS 13.5.1

This is a very urgent issue because we have to launch this app next week and we cannot do that if it does not work on iPhone devices.

Look at this as soon as possible, please.

Best regards,
Xebax

Xebax
Posts: 19
Joined: Fri Nov 16, 2012 1:19 pm

Re: Some ios devices can't log in

Post by Xebax »

Hi,

Another important thing:
The Cyclos 4 mobile app published on the App Store (version 2.7) works fine on the same devices.

We have followed the customization guide accurately so I am wondering if this problem could be caused by:
- something broken in the machine used to build our customized app
- something that must be done but is not described in the guide
- a problem in the 2.7 package

We use Xcode version 11.5.

Best regards,
Xebax

Xebax
Posts: 19
Joined: Fri Nov 16, 2012 1:19 pm

Re: Some ios devices can't log in

Post by Xebax »

Hi,

We have redone all the procedure from the beginning:
- uninstall and reinstall Xcode 11.5
- unzip the cyclos4-mobile-2.7.zip file and move the folder to the Desktop
- rename it mobile_dir
- in "Signing & Capabilites", add our development team account
- run the app on a test device

We obtain the same result: nothing happens when clicking on the login button and the same messages as above are displayed in Xcode.

We used a clean environment and did the minimal customization needed to run the app so we think the problem is not in our side.
Please look at this as soon as possible.

Best regards,
Xebax

rleon
Posts: 2
Joined: Wed Jun 10, 2020 9:42 am

Re: Some ios devices can't log in

Post by rleon »

Hi all,

There was a problem in the 2.7 distribution package and a new zip is being uploaded with the issue fixed.
Thanks for your feedback.

Best regards

Xebax
Posts: 19
Joined: Fri Nov 16, 2012 1:19 pm

Re: Some ios devices can't log in

Post by Xebax »

Hi,

All is working fine with the new distribution package you provided and we have submitted our app for review this morning.
Thank you for your reactivity!

Best regards,
Xebax

Post Reply