Is it possible to add Facebook SDK to my iOS Widget Extension? - ios

Following the guide provided by Facebook
I'm trying to add Facebook SDK to use analytics for my widget extension
Seems not easy because the SDK asks to use CFBundleURLSchemes and AppDelegate.swift that are not present in the widget extension using SwiftUI.
Does anybody had the same problem or is there a workaround to use analysis on the iOS extensions?
Thanks in advance.

Related

use Google analytics 4 on iOS WkWebview

I would like to use GA4 on my wkWebview. I don't wanna use iOS SDK with firebase or the measurement protocol. I tried using the web stream code on html page but nothing was pushed to GA . It seems to be not working . So, Can someone please help with a solution? Thanks
iOS: 15.5

Open contact information/details page via phone number in IOS programatically

i want to open contact details page or information that we can open it from
contact book but i need it to open programatically, i am new to IOS.
I am developing an app in flutter environment, i didn't found anything in flutter for this so i have done this in android via platform specific code, now i need this working for IOS too.
Did anyone know how can i achieve it in Flutter or IOS via platform specific method, Or suggest specific IOS code for this?
Thanks in advance!!

Add React-native app to 'Activities' panel on IOS

I am looking for informations about to add an App in the 'Activities' IOS panel in order to can add my app to the list of sharing apps.
I don't know if it's automatic or if it need some configuration.
Thanks
This is possible using AppExtensions in iOS SDK.
In React native, the docs talk about App extensions here. And an example app for sharing is available in a github repo.

Is there a way to get notes from iOS default note application programmatically? [duplicate]

i'm developing a notes app and I want to import all the notes stored in the default ios app into mine.
How should I do this?
There's no API to do this. 3rd party apps have no access to such data.

Good example of how to build an iphone app that integrates with facebook

I have experience building iPhone applications, however I'm new to the facebook API for iOS. Does anyone know of a good example of an iOS app that will post to user's facebook wall? I'm trying to integrate this functionality into an existing app that I'm working on. Thanks!
Check out the following open-source project:
facebook-ios-sdk
It's an open-source library to let you post to Facebook from your own iOS app.
They have posted code for a sample ViewController here as well. Unfortunately this doesn't do an explicit wall update, but it does read the users' status and request them to log in. And underneath this you can retrieve the source for the entire demo application:
https://github.com/facebook/facebook-ios-sdk/blob/master/sample/DemoApp/Classes/DemoAppViewController.m#L79
https://github.com/facebook/facebook-ios-sdk/tree/master/sample/DemoApp
You can check our documentation for iOS SDK 3.0.8 here at
https://developers.facebook.com/ios/
Download the SDK package here at
https://github.com/downloads/facebook/facebook-ios-sdk/FacebookSDK-3.0.8.pkg
Then try the samples/ folder for the existing samples.
Specially you can look at Scrumptuous and Hackbook for latest examples.

Resources