My team has a nativescript-vue application that is targeting the iOS platform. We were trying to uniquely identify the iOS device uuid via nativescript-uuid, but that appears to no longer supported. What is the best approach to use the DeviceCheck API?
You were right nativescript-uuid plugin is not updated to work with iOS 11 or later (DeviceCheck API).
An alternative could be using nativescript-secure-storage plugin, store the UUID you get using UIDevice.currentDevice.identifierForVendor.UUIDString for the first time, then it should return the same value even after reinstalling the app.
Related
I am looking at Xamarin UI test as a POC for a native Android and iOS app. Not used Xamarin before or C, so I am bluffing my way through at the moment. I have managed to get it running on the Android Phone version of the app, but how do I make it clever enough to look for different elements between the Phone / Tablet implementation? Going further I will be trying to make the POC cross platform so will need to take into account the platform too.
I have seen references to platform and idiom but not sure how to use them in the Tests.cs file.
Thanks.
I have an app running on IOS (Swift) using the DJI mobile SDK. At the moment, I still need to use the dJI GO app to determine if the aircraft is ready for takeoff (not in a no fly zone, compass is calibrated, etc.). Is there a way to see those issues from the SDK?
If you are using the iOS UXSDK this is already built in using class DUXPreflightChecklistManager and you can find sample code here: Mobile-UXSDK-iOS >DULPreflightChecklistManager. If you do not want to use the UX iOS SDK and want to build your app purely from the iOS SDK then you will need to find each api for the features included in a preflight and build your own logic to have them do a check and throw errors at the startup of the RC and aircraft. For example: class DJIBattery, flyZoneManager or isFirmwareVersion:newerThanVersion
I am going to develop a social media type application for iOS using Xamarin, for chat purpose I want to use firebase.
Can you please tell me if firebase is supported by Xamarin.iOS?
Apparently there is a Xamarin compatible client available: https://github.com/ziyasal/FireSharp
It seems like yes.
check this nuget plugin
There is also a Xamarin.iOS project on github which uses FCM
This one is for Firebase + Crashlytics for iOS only
https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/ it is published recently.
Other packages (Xamarin.Firebase.Crash for example) are for Firebase Crash reporting, which is being phased out.
By the time I'm writing this, I'm working on a Xamarin cross-platform app (iOS,Android and Windows Phone), using Azure Mobile Services. There is interest of also developing Mac OS X version of this app.
Is there a way to use the Azure for the OS X app, because I can't find anything on the web? Please, be descriptive as possible :)
There is not currently Xamarin.Mac support in Mobile Services. If you look here (https://github.com/Azure/azure-mobile-apps-net-client/tree/master/sdk) you will see there is a Xam.iOS, Android, and Forms project.
You can add a feature request for Xam.Mac, or make an open PR that adds in a Xam.Mac project. I'd assume the main PCL component will work and its just a matter of adding the Mac specific wrappers where needed. I'm not sure how much dev work that would actually entail though to say if its feasible or not.
Is there a way to add google maps or mapbox to osx app built with swift in xcode? Both websites only show api for ios. Is there any option to add maps to osx app without using apple maps?
I recently ported the Mapbox iOS SDK to OS X. It can be used with either Objective-C or Swift on OS X 10.10.0 and above. Until there’s an official release, you’ll need to clone the mapbox/mapbox-gl-native repository on GitHub and build the project from source. Most of the Mapbox iOS SDK documentation applies equally to the OS X port. The project comes with a demo application as well (via make xproj).
Update: You don’t have to build it from source anymore! See https://github.com/mapbox/mapbox-gl-native/releases/ for prebuilt releases of the Mapbox macOS SDK. (Look for releases beginning with “macos-”.) See the SDK’s homepage for more information and an API reference.
There is no google-maps SDK for OS X. Your only way to go to is add a webView into your app and load a html that contains maps api calls linked to your AUTHORIZATION TOKEN.
Technically Mapbox GL runs on OS X, but it's direct C++, which means that you'd have to wrap it in Objective-C in order to use it with Swift, but it is possible.