Facebook SDK 3.1: Feed Dialog vs Native dialog - ios

Recently I've found that the Facebook API had been changed a lot since last year and I have to use a new SDK (3.1 by now) in my apps.
I'm trying to figure out what's the difference between Feed Dialog used before and a new Native Dialog. So far I can see that (unlike Feed Dialogs) using Native ones is for IOS 6+ only, and that it uses some new share sheet framework.
Could you describe (suggest?) in two words what is the practical purpose (difference, benefits?) of these Native Dialogs with respect to Feed Dialogs?
Perhaps your vision of if it makes sense to complicate the code in order to support Sharing with Native Dialogs on IOS6+ devices.

The native dialog is a feature included in the iOS 6 system to share messages easily with a unified UI for all applications. For this the user must have setup his account in the iOS preferences pane!
Most other stuff is something related to the Facebook SDK and not included in the system.
Pros of Native Controller:
included in the system
unified user interface
unified API for Twitter, Facebook and more
Pros of Facebook SDK:
external SDK required
runs on older systems too
more functions and more customization

Related

What API/SDK to print automatically to thermal printer (e.g. Brother QL) with my React Native iPhone app without interaction?

I've been looking into different API/SDKs that would be best and easiest to integrate with my React Native iPhone app. This is an internal employee app, that once a form is submitted I would like to automatically print out a label from a thermal printer (e.g. Brother QL1110NWB).
Some options I found are:
React Native:
https://github.com/christopherdro/react-native-print
Brother SDK:
https://support.brother.com/g/s/es/htmldoc/mobilesdk/
Apple AirPrint:
https://developer.apple.com/documentation/uikit/uiprintinteractioncontroller#//apple_ref/doc/uid/TP40010141-CH1-SW34
Does anyone have experience with any of these API/SDKs and can recommend best method for easy integration and be able to print directly without interaction?
Thank you!
If you can dictate the hardware to make sure it is compatible, then the Brother SDK will have the easiest integration and be transparent to the user.
Apple restricts Bluetooth Classic devices from connecting to iOS unless they are MFi certified, which adds to the price but enables the External Accessory Framework at the OS level. Device manufacturers can then sell a printer that is 'iOS certified' like the Brother QL1110NWB and provide the SDK to use it.
How to use bluetooth classic instead of le
You would need to write a React Native binding for each target device family to use the SDK's OS specific libraries. Brother has an iOS, Android and Xamarin SDK available, but I don't see one for React, so you would need to wrap their iOS SDK with hooks to invoke your print on demand. Before you start, contact Brother support or your sales rep, because they may be working on React Native SDK, or your organization may have enough buying power to request one. Either way, it's a good practice to make this an interface at the base React level so that new printers or platforms can be added just by implementing custom native device adapters.

Skype for Business App SDK for iOS Desktop Sharing or Application Sharing

I try to develop iOS native app by using Skype for Business App SDK.
Are there any way to show desktop sharing from SfB Client on Windows Desktop to participants iPhone by using this SDK? I checked all the classes listed in the website below. But I could not find appropriate class.
https://ucwa.skype.com/appsdk/reference/iOS/
This is not supported. Please provide feedback request on User Voice if you would like to see this feature

Here maps free evaluation iOS mobile SDK for 90 days, no link available on the web to download

As part of our mobile app development we need to work on offline maps. Recently we have registered for HERE maps iOS free evaluation sdk(90 days), however we are not able to download HERE maps sdk and explained samples since there is no download link available on website(https://developer.here.com/native-apis). We have sent several mails to support team but nobody responded to my mails.
Someone help us to proceed further like how to get this sdk, so that we can integrate this free evaluation HERE sdk in our apps. If we are happy with this maps we are ready to purchase business license also.
Note: Google Maps(no offline), Skobbler maps are giving sdks and sample programs but not Here Maps.
The native HERE Maps SDK which includes offline map support can now be evaluated by anyone, no business license required. You just need to create a HERE account and request an evaluation copy.
Go to developer.here.com > Mobile SDKs > Sign up for a 90-day free trial
https://developer.here.com/native-apis
I contacted HERE a few days ago. They said that the SDK is available only for business contracts, not for free contracts. And it's not possible to get the sdk for evaluation. We need first a business contract...
Click on the below link to download Here maps mobile SDKs for android and iOS:
https://developer.here.com/plans/mobile-sdk
Currently there are two types of mobile SDKs are available
1.Starter Evaluation(90-day free trial) : Some feature will not be available here.
For ex a).We cannot download maps with this.
b).Hybrid mode will not work here etc.
Hybrid version will work both online and offline modes whereas online version will only work in online mode. You can download the maps with Here mobile SDK and then you can navigate to the places without internet. In hybrid version app will switch to offline automatically whenever net is not available.
2.Premium Evaluation(90-day free trial) : We can download maps.

Integrate Worklight project in existing IOS project

I have to integrate a Worklight project into my existing IOS project (Objective-C)
I have googled but i have not found a clear "guide" on how to perform this integration.
Could you drive me in the right way of integrating this project? The idea is to have a button in my IOS project that open a WebView that loads the pages (HTML5 and javascript with AngularJS and Jquery) contained into the Worklight project.
Thank you so much
There is no guide for this approach, as I don't think it is sustainable.
In Worklight you currently have two approaches:
A native application to which you add the Worklight Native iOS SDK, allowing you to implement security features, invoke adapters and use various other features
A Hybrid application to which you can add native functionality (via Cordova or otherwise), and use the entire set of features provided by Worklight
It is important to note that a Hybrid application is a native application. It is a fully actual real native app. It is a native shell that calls a webview (provided by Cordova) into which the Worklight JS framework and the application web resources are loaded, and thus you see your web app. A Hybrid application allows you to mix & match web and native in one.
So what I am saying is that you can't take an existing iOS app and transplant it into another existing iOS app.
It sounds to me like what you are essentially trying to do, is what a Hybrid app is. A native app that displays web content...
So:
This is not an approach Worklight officially supports. By doing this, you are on your own
You could maybe take the guts of a Hybrid app's iOS environment (myapp\iphone\native) - its classes and resources and add them into your existing app and load the main class which theoretically, or at least the wanted effect, will load the Cordova webview. But I give this low chances of success...

Using twilio sdk for an iOS app?

I am planing to develop an VoIP iOS app and use Twilios SDK. I am making the choice to either use LiveCode, Appery.io, PhoneGap or build a native Objective C app. I am going to build the app for iOS, Android and HTML5 so the ideal would be to develope in JavaScript for all platforms, but as I understand the support for WebRTC is laking on the iPhone so the alternative for iOS is the native twilio SDK.
My requirements is:
be possilbe to use in iPhone 5 with iOS 7 be able to use twilio iOS
SDK´s voip functionality or twilio´s js SDK (if it is possible to
wrap a browser that supports RTC in the code?) be able to integrate
billing such as in-app payment or paypal with zooz or similar
communicate with REST API´s such as Amazon S3 or a node.js server
store temporary info in a SQLLite db when app is off line make fast
and responsive views (file listings etc) is very important
create cfuuid´s
I have seen several Twilio projects that use PhoneGap but none that are using LiveCode.
I have already built an iOS VoIP app in Objective C, but I want to be able to release it on several platforms also such as for Android and build a HTML5 app, without redoing everything.
This isn't really a programming question and should perhaps not be asked here.
You can create an external for LiveCode and quickly create an interface using the LiveCode IDE. This is probably a quick and easy way to make a working app. If you're starting with LiveCode but are experienced in Objective-C, creating an external won't be a problem for you.
LiveCode doesn't contain native iOS controls, which means that you have to emulate the GUI. If you use PhoneGap, you also will need to compile a plugin for PhoneGap using Objective-C, but you can use a framework, such as JQuery, to get the right GUI.
Either way, you will have to compile the SDK and you'll need to be quite profound in Objective-C.
LiveCode will meet all your requirements. However, Apple will deny your app if you use PayPal for in-app purchases. You'll have to use Apple's in-app purchasing feature. I believe this is possible in LiveCode now. I'm not sure how easy it is.
I'm not sure about file listings either. On iOS, you won't have complete access to all files on the phone. This isn't a LiveCode limation but a limitation of the OS.

Resources