BlackBerry: UnsupportedOperationException in payment sdk below 5.0 Simulator - blackberry

I am using payment sdk. It's work fine in 5.0 simulator but below 5.0 simulator it throws error "class 'java.lang.UnsupportedOperationException' not found." in starting the application.
When I comment payment SDK code then application work fine.
after debuging I got following error at the starting point before application enter into the main() method.
Starting PaymentSdk
VM:LINK PaymentSdk
Class 'java.lang.UnsupportedOperationException' not found.
Linker error: 'VerifyError' for PaymentSdk
Error starting PaymentSdk: Class 'java.lang.UnsupportedOperationException' not found.
PaymentSdk is the name of application.

The SDK only works on 4.5 devices and above.

Related

Error while running code in iOS, Getting Ionic HTTP Failure in Response

I developed my application in ionic 3 and my back-end is PHP PDO , my app is working perfectly in Android and all the web services are getting called perfectly.
I have imported my code in Mac Book and generated in Xcode. when I run that code in simulator API are not getting called and shows error as HTTP failure Response from unknown URL 0 Unknown Error.
I have already added white list Plugin in iOS
I have already added CSP in my index.html file
API are getting called in Safari Browser perfectly but not in simulator and real device.
Any help is appreciated.
I have Degraded ionic web view for ios and that worked for me.

Kinvey on IOS Simulator issue

I am working on a project in Xcode using objective c. I am implementing kinvey for login purposes and found that there is an error when on login and registration, both manual and auto-generated, on the simulator. The odd thing is that the error only happens on iOS 8.3; it works fine on 9.0 or 9.3.
In 8.3 I receive the following error:
domain: #"KinveyError" - code: 406
#"Kinvey requires application/json as the Content-Type of the response"
I have tried resetting the simulator, restarting Xcode, restarting the mac, updating to the latest kinvey module, and even using an old kinvey module. The error persists, and I am not sure what else I should try.
Does the Statusshare sample app work for you?
Here is the link: http://devcenter.kinvey.com/ios/samples/statusshare
It does have new user account creation and login. I tried it on an iphone6/ iOS 8.3 simulator and Kinveykit version (1.40.7) and the sample worked fine for me.
Thanks,
Pranav
Kinvey Support

iOS Push Notification issue with Mobile First 7.0 (Hybrid)

We are facing issue with "iOS Push Notification" functionality with Mobile First 7.0.
We have downloaded push notification sample app from
Sample App. As MF 7.0 doesn't have any sample app. So we used sample app of MF 6.3.
After installation we have tried to "subscribe" through iOS device. Its throwing below error and app is crashing.
[ERROR ] FWLSE0020E: Ajax request exception: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred. [project PushNotifications][ERROR ] FWLSE0117E: Error code: 1, error description: INTERNAL_ERROR, error message: FWLSE0069E: An internal error occurred during gadget request [project PushNotifications]The transaction has been rolled back. See the nested exceptions for details on the errors that occurred., User Identity {wl_directUpdateRealm=(name:null, loginModule:WLDirectUpdateNullLoginModule), SubscribeServlet=null, wl_authenticityRealm=null, wl_remoteDisableRealm=(name:null, loginModule:WLRemoteDisableNullLoginModule), SampleAppRealm=null, wl_antiXSRFRealm=(name:mibphsqb0hb1bfcko7t0nfstts, loginModule:WLAntiXSRFLoginModule), PushAppRealm=(name:Test1, loginModule:PushAppLoginModule), wl_deviceAutoProvisioningRealm=null, wl_deviceNoProvisioningRealm=(name:89E62244-B169-4C8E-BB83-BD7F6868310E, loginModule:WLDeviceNoProvisioningLoginModule), myserver=(name:b71e8870-df42-424a-bc38-924c645d621e, loginModule:WeakDummy), wl_anonymousUserRealm=(name:b71e8870-df42-424a-bc38-924c645d621e, loginModule:WeakDummy)}. [project PushNotifications]
com.worklight.common.log.filters.ErrorFilte
Why are you saying MFP 7.0 doesn't have any sample? it is linked to in the tutorials for MFP 7.0, here: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/notifications/push-notifications-hybrid-applications/event-source-based-notifications/
So first try to the appropriate sample.
Additionally the error log does not reveal anything... provide logs from Xcode.
As for the crash - make sure you are using the latest MFPF 7.0 iFix from IBM Fix Central as an iOS push-related fix was delivered some time ago. You may be using a version affected by the bug.

Error while running my first IOS app on Xcode

I just created my new iOS project as a single view app and tried running it with no codes added, but there appears just a blank black window in the iOS simulator, and it generates the below error:
"The operation couldn't be completed. (Mach error -308 -(ipc/mig)server died)"
Have a look at this question:
Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator
Hopefully that will help you too.

Paypal MPL iOS error -1

My PayPal MPL integration which has been working correctly,but problem come from when initialize paypal library .
[PayPal initializeWithAppID:#"APP-80W284485P519543T" forEnvironment:ENV_SANDBOX];
It gives the following error:
Checking Error********************
Posting Error: -1
Internal server error.
Has anyone else experienced this?
I'm running Xcode 6.0.1 and this occurs in both iOS 7 & 8
I was also stuck at the same error and finally found the solution by adding
"bundle display name" in info.plist. Without it I was getting posting error.

Resources