Mobile First Encrypted Cache Errors - ibm-mobilefirst

I am using the IBM MobileFirst Studio Plugin 7.1 and am following the tutorial - Storing sensitive data in encrypted cache at this link:
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/data/storing-sensitive-data-encrypted-cache/
I have noticed that the ERROR CATALOG that I see is different than what is present in the documentation. This is a screen shot of my CATALOG
I am not able to see the ERRORS for the
WL.EncryptedCache.ERROR_SECURE_RANDOM_GENERATOR_UNAVAILABLE
WL.EncryptedCache.ERROR_COULD_NOT_GENERATE_KEY
They are either mentioned in the code but not in the documentation or vice versa. Am I missing something? Please advise.

I have dispatched a note to the development team to verify what is going on.
It appears we may have a defect here. Will update once news arrive.

Related

How to get publicly accessible crashlytics report url?

I want to share my crashlytics crash report to some 3rd parties.
How can I get a publicly accessible url like below?
http://crashes.to/s/419b5b28766
I am bit new here, is it a old deprecated crashlytics feature?
I don't seem to find in my fabric crashlytics dashboard.
Zubair - from Fabric/Firebase. Great question. We deprecated that share link feature, so those won’t be accessible anymore. The decision to drop support for it was based on customer feedback, and because we don’t plan to carry over the share links feature over to Firebase.
Definitely not ideal if you were using that feature a lot, but as a workaround I recommend downloading the stacktrace and issue details with the "Download .txt" file button and sharing that instead.
Downloading the stacktrace and issue details with the "Download .txt" file button was part of the Fabric.io. In Google Firebase, using the BigQuery is the best way to get that data. To to that make sure, you have enabled the BQ Integration under Project Settings > Integrations > BigQuery

Error (4800004) authorizing web app

I was debugging my app in my personal Google play services account but the company I am working on has already got their Google play services account so I changed and DELETED (deleting api credentials and unpublished it) the game. I have managed to register a new android app but when I try to register a web app I get the error #4800004 (An unexpected error has occurred. Try again later).
What should I do?
It can take approx 7 days for your old package to be removed. You will not be able to add a new one until that happens.
Your options:
Wait 7 days and try again.
Rename your package.
Alternately: You cannot have two apps with the same package details. Are your two apps conflicting with each other?
From the github post, it was mentioned that you maybe re-registering an app with the same package name. You can check if your project was already registered in the console. Projects that you have deleted will take effect after the 7th day.
For further information, you can also try to check this page. It may also have something to do with SHA1 Signing Certificate Fingerprint from android studio.
You need to make sure that the LaunchURL that you provide includes the protocol (for example: http://) in addition to the domain. If you do not provide the protocol, google appears to automatically add https://, but this led to the error posted in the question for me.

MobileFirstPlatform 8.0 Push Configuration Error

Created MFP CF app in Bluemix. Push notification was also working fine with GCM. Today saw a messages that there is an update for MFP in the Bluemix dashboard and clicked "Recreate" button. Server was recreated and all my apps and adapters were gone. Then from my development environment pushed the app and adapters and went to console to configure push notification and add the GCM details. Found an error at the top and now I don't see the text box to add the "Server API Key" and "Sender ID"
Looks like the new update got this issue. Is there a way to fix it or backout and go to the previous version?
Any help would be appreciated.
There is work to assure that such events will not happen, however please note this very important notice about the Mobile Foundation Bluemix service, with the Developer plan:
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/bluemix/using-mobile-foundation/
Note: the Developer plan does not offer a persistent database, as such be sure to backup your configuration as explained in the Troubleshooting section.
Such data loss may occur.
For now you will need to reconfigure your GCM credentials in the console.

automate disable access for a worklight application - GadgetAppID value

I want to automate the disable access feature of my worklight application ( version :- 6.1.0.2 ) , I have created the below links referring info center links, Can any one please let me know, how can i get the value of gadgetAppID in the below mentioned urls. Also i have added the snap shot of the mysql DB.
Disable App post url below.
http://localhost:10080/AppName/console/api/applications/setAccessRule?gadgetAppId=""&action="disabled"&message="please try later”
Enable App post url below
http://localhost:10080/AppName/console/api/applications/setAccessRule?gadgetAppId=""&action="enabled"&message="please try later”
Thanks
djrekcer.
It is a bit complex in 6.1, see - http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.apiref.doc/admin/r_http_interface_of_the_prod_server.html (search for setAccessRule)
Starting with 6.2 there's a RESTful server API for that, see http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.apiref.doc/apiref/r_restapi_app_version_access_rule_put.html%23App-Version-Access-Rule--PUT-?lang=en

WL 6.1 mobilewebapp version in application-descriptor.xml

I see from the documentation that the version attribute for the mobilewebapp environment has been removed? Why is this? Is there any way to add this? This was very useful for us!
Using WL 6.1.0.01.20140418-0637.
I don't quite understand how it was "useful" to you, because this property never had any actual meaning for the Mobile Web and/or Desktop we browser environments to begin with. It only caused confusion, hence it is now removed.
There is no way to add it back by the developer.
If you think it is useful to you for some reason, you can submit a feature request: http://www.ibm.com/developerworks/mobile/worklight/connect.html