MobileFirst Adapter Authorization failed after updating - ibm-mobilefirst

I developed app for iPad, and it was working and connecting to MobileFirst(7.1) server.
But I update to 10.3.1(for Mac,iPad OS) and 8.3.2(for XCode) recently.
Then I cannot connect MobileFirst server again, and it displays error message in the console window.
[ERROR ] FWLSE0335E: Authorization failed: CliendId **************************************** was not found on the server.
But the CliendId in the console is not same as my iPad's UDID.
I don't know what the number means.
Please help me if you can solve the error or give me information!!

I deleted app on the iPad then I re-installed the app.
(It was not enough only re-installing)
I could solve the problem!
Thanks Vivin!!!

Related

Access Denied popup when logging in with MFP auth framework

I have been seeing this error when trying to login to my app.
It is using the mfp auth framework
any explanation of what this is would be very helpfull
I see this in the simulator, I don't see this on the device, but wl.connect() always fails in the device
This was due to direct update, anytime a direct update happens i get this error, then i have to shut down the app and restart it
I had the same issue in simulator, deleting and reinstalling the app fixed this.

maximo anywhere login issues in ipad device

Maximo Anywhere working fine in simulator, not able to login from iPad device (any device).
Response is NULL from adapter - Login call with an error (Security Realm). Attached the logs for the same. Kindly help. I checked wlclient.properties also but i not able to login. at same time i can able to login worklight simulator.
Thanks advance
above that issues i resolved. Below that property resolved my issues,
NSAppTransportSecurity
NSAllowsArbitraryLoads
And i following this links are very helpful us.
https://developer.ibm.com/mobilefirstplatform/2015/09/09/ats-and-bitcode-in-ios9/
https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html

iOS Test flight application installation failed

I have submitted an iOS application to iTunes connect and it is in beta testing state. I have added a new external tester to the account and the new tester got the notification from iTunes connect. But the user is not able to install the application, getting an error message as below,
The invitation is invalid. Try again. If the problem persists,
contact the inviter.
Can anyone please help me?
Thanks guys,
This was an iTunes Connect error. After a couple of hours the problem got solved automatically.

Why is Mobilefirst 7.0 iOS App with Push Notifications Enabled Crashing?

I am getting a exception in my iOS App(generated using Mobilefirst 7) which occurs after I login. The app tries to connect to the Mobilefirst Server and try to register for push notifications. The crash happens at this moment.
I am seeing a IBM ticket which was raised on this.
http://www-01.ibm.com/support/docview.wss?uid=swg1PI42699
I am getting the same exact issue.
The exception is
: -[__NSCFBoolean stringByAddingPercentEscapesUsingEncoding:]:
unrecognized selector sent to instance 0x1987b22f0 developerones-iPad
MyAppName[207] : *** WebKit discarded an uncaught exception
in the
webView:decidePolicyForNavigationAction:request:frame:decisionLi
stener: delegate: -[__NSCFBoolean
stringByAddingPercentEscapesUsingEncoding:]: unrecognized selector
sent to instance 0x1987b22f0
There is a solution in this ticket but I could not find a file named ios-gap.js. Has anyone faced the same issue.
This is a product bug.
This is as suggested by the APAR you have linked to.
The APAR is fixed.
What you need to do is to make sure you are using the latest MobileFirst Platform 7.0 iFix by visiting IBM Fix Central and download the updated Studio, then re-build your project and verify that the crash no longer occurs.

Unable to Connect To GoogleFit

I am trying to connect to Googlefit but i am getting a strange error code as below
E/GooglePlayServicesUtil﹕ Unexpected error code 5005
Does anybody have any idea about this.Thanks In advance
I solved the error with the help of the answer in this post:
https://stackoverflow.com/a/28391583/2977169
#Sumoanand:
I also faced similar problem.
This issue occurs if app is not registered properly in google developer console.
I think you have registered app on Google developer Console using production keystore certificate fingerprint(SHA1) where as you are testing it on app which has debug keystore.
Perform following steps:
Create one more client Id using debug keystore certificate fingerprint(SHA1).
Uninstall existing app.
Install app & connect to Google fit.
Check under google fit app & make sure that your app is listed as a connected app (... > Settings > Connected apps > Connected apps & devices).
Now run the above code & it will work !!!
I had this error and the consent screen had been filled in correctly. The only way I could get around this was to delete the project and re-create it.
I changed my device date time to past time before connect to Google Fit and I got error 5005.
After changed to current time, it works :)