Error While testing oneM2M Device Simulator with Mobius API - iot

please help me with below error.
enter image description here
I am trying to connect onem2m device simulator to mobius API.

While I am not familiar with Mobius, it appears to me that the releaseVersionIndicator parameter is missing from your request primitive.
To get this far, you have probably sent other primitives that do include the releaseVersionIndicator (rvi). So you can probably refer to other examples in your own project for how to include it.
Bob

Related

Issue using Codename One iOS Certificate Wizard, getting error "REST request failed"

I have been trying to generate an iOS certificate from the Codename One Control Center, launched from Intellij. Every time I submit my apple iOS developer credentials, and then input the 2 factor authentication code, it returns with this error:
REST request failed due to internal CLI failure. See server error log.c5307525-1805-4360-d4ca9d46cad0
I enrolled in the Apple Developer Program, and I believe I've agreed to all of the Apple Developer agreements and such, and I have exactly one device registered, as well as that one device set as the trusted device, so it receives the 2 factor authentication notifications. I'm also not sure where I am expected to be able to see the "Server error log" as I have searched around for that.
I've only been able to find 2 other cases that seem similar to mine but neither give me a clear idea of what the problem is or how to fix it. They do however seem to resolve their problems. I really don't have any more ideas as to what the problem could be.
Codename One IOS signing
Unable to Login to iOS Account from CodeNameOne
Another odd thing about this problem is that usually I get this error after being prompted to input the 2-factor authentication code, but sometimes I'm never prompted to input the code before getting the error, yet I will still receive the 2-factor authentication code text message on my phone despite there being nowhere to use it.
Any help is appreciated.
I have made some updates to the certificate wizard to try to work around this issue. Please give it another try. If you run into another problem, please post the error message again, and I'll look it up in the logs.
Ok so after looking around a bit further, I was finally able to find a git issue post that seemed similar to mine, and at the very end of the thread (linked below), someone mentioned that you need to be signed into that apple id on the device, not just have it as a trusted device. My iOS phone was showing up in the account because I was logged into the Apple Developer App, but this is not enough. Thanks for helping.
https://github.com/codenameone/CodenameOne/issues/2779

How to get logs from remote device

Our iOS app has a subtle bug which is 100% reproducible on one of the team members’ device.
He is not a programmer, so he does not use XCode.
To investigate the bug, I plan to make a custom build with logging, ask him to launch it and reproduce the bug.
The question is where to write logs to and how to get them from his device with minimal friction.
I believe that logs must be written to some local file on iPhone, and then he send me this file say by email.
Are there any ideas how to make this sharing clear and easy for a non-programmer?
Little clarification:
In my concrete case I need to log a couple of (rather long) base64-encoded string.
The better way for your scenario is use slack, telegram or any chat application. Then instead log to the files, you can send log to a channel directly.
https://core.telegram.org/bots/api
https://api.slack.com/messaging/webhooks
In our applications, we write the log to the files, then server side supports the api to upload these files.

Problems with facebook adset setup

Hi I am trying to set up a adset for the Apple App Store (Google Play doesn't give this), but i am facing this error message;
Missing or invalid field in promoted objects: Application_id must be
valid for the APP_INSTALLS optimization goal. Set it in Promoted
objects.
I have through topics regarding this, but couldn't find a solution, can you please assist?
Thanks,
E.
Same Issue here: application_id needs to be Valid Facebook Ad
I had the exact same error and solved it by changing the app type to Consumer. Unfortunately you cannot just change the type for an existing app, so you have to create a new app and select the right type, see:
https://developers.facebook.com/docs/development/create-an-app/app-dashboard/app-types/
I guess that for me the error occured because I chose hte Gaming type which does not support App Events, see link above. The Consumer type worked for me.
Of course you get a new app ID, which you need to put again into the Facebook SDK inside your app, so it is kind of starting all over again.

Device Check Api - Unique ID

I cannot find anything on Device check Api in iOS over here. However, let me draw your attention to the fact that, I wanna use and pass Unique ID from my iPhone app to the server always with the pretty much the same ID even after reinstalling the App. Eventually, I got to know that, Device Check Api is well suited for this purpose for the simple reason of Access per-device, per-developer. But I'm bit confused how to use it properly and can anyone help me with the proper and clear-cut guidelines including both front end and back end parts. It would be great if you help me with it. The Apple documentation link is provided here below for the reference, https://developer.apple.com/documentation/devicecheck.
Have you checked this? https://fluffy.es/devicecheck-tutorial/
It explains the whole thing and gives an example.
Edit: But as suggested by #Paulw11 DeviceCheck does not provide a Unique ID, it only gives you access to 2 bits of information (2 booleans really) by device by developper (not by app).

Razer Nabu iOS Authorisation

I'm trying to setup a test iOS app to see what I can do with the Razer Nabu but I'm struggling with the patchy documentation. The example for authentication only mentions a 'fitness' scope and with that I don't seem to be able to send a notification to the band (the main thing I'd like to try).
When I try and send a notification I get Operation 36 returned and no notification on the band so I assume that means it failed (return codes from the SDK aren't documented it seems).
Does anyone know if there is a different scope for notifications? I tried 'notification' and 'notifications' but they resulted in failure to authorise in the Nabu Utility app.
Any help or pointers to documentation/samples/guides I might have missed would be very helpful!
NB I managed to get authorised with the 'fitness' scope and read some fitness data so everything's working except for the notifications!
Having got in touch with the Razer support guys and talking to this lovely chap called Brandon the issue was that I had the Nabu Utility app from the App Store and the version from the developer site was actually more up to date in this respect, so getting that one installed (and uninstalling the App Store version) made everything work correctly!

Resources