Share video to youtube with ShareKit on iOS7 - ios7

I want to implement "sharing" on iOS 7 to share video file to facebook and youtube (the others are options). Spending lots of time to survey and try, I found UIActivityViewController can not share to youtube in default, and the iPhone users must set app login information to make the app icon appear in the view. Then, I found ShareKit ( https://github.com/ShareKit/ ) may reach my goal. I installed ShareKit via cocoapods (ref https://github.com/ShareKit/ShareKit/wiki/Installing-ShareKit ), and found the youtube portion was not installed. The 2 files in https://github.com/ShareKit/ShareKit/tree/master/Classes/ShareKit/Sharers/Services/YouTube do not exist if install via cocoapods. If I add the 2 files into pod project , the build will fail. How could I make the youtube sharing work? Any suggestion would be greatly appreciated.

You have to edit ShareKit.podspec. It is impossible (or at least it was last time I tried) to use YouTube and Google+ at the same time. See the comments on the bottom of the pod spec file for more info.

Related

Expo: Remove iPad support on non published app

I'm completely new to React Native, Expo and App development in general.
I'm building a React Native app solely for iOS using Expo. I've finally managed to finish a version I'm happy with, tested with users etc. I've now been spending time adding all the required screenshots, text, info etc to App Store Connect in order to submit the app. While doing that, I learned that iPad app screenshots was mandatory, which I found weird.
I later found that I had "supportsTablet: true" in my App.json file, so it makes sense that it's expecting iPad pictures. After changing this and making a new build and submitting that, it's still a requirement.
After Google a bit I can see that it has been impossible to change this:
Removing iPad support from app
iOS App Submission : remove iPad support
iOS App Submission want to remove iPad support
This led me down the road of trying to upload the app as a new submission. I can't get this to work though. According to this documentation:
https://developer.apple.com/library/archive/qa/qa1623/_index.html
I should change bundle identifier and upload again. Changing this in app.json under expo.ios.bundleIdentifier doesn't work though, as I just get an error that I've already uploaded this app previously.
What are the steps I should do to reupload the app as a new submission, so that I can not support iPad?
In order to upload a new version, you must increase the version and the build number. You can find this if you open the project in Xcode under the General tab and the Identity section. In the same tab, you will see the Deployment Info section where you can untick the iPad. Check the picture attached.

UIWebView still exist in Google Mobile Ads

I am trying to build for IOS but after uploading to ITuneconnect I got this message.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
I know this problem exists already. I searched my Project using this command
grep -r "UIWebView".
I got one match
Binary file ./GoogleMobileAds.framework/GoogleMobileAds matches
Please let me know how can I solve this problem.
Anyone have a solution then, please help me.
Thank you.
Alright!
So Install your Google Ads pod with put this line pod 'Google-Mobile-Ads-SDK'
And don't worry about grep -r "UIWebView" . It will show UIWebView in Google Ads,
But It will not stop you from Build your app and submit to TestFlight/App Store,
Because Google has fixed this.
Points:
Clear your derived data (/Users/yourMacName/Library/Developer/Xcode/DerivedData/)
Clean Xcode project (cmd+shift+k)

Is it possible to download YouTube videos with Expo?

I'm looking at being able to download YouTube videos within a React Native app created with Expo. I'm currently using Expo's FileSystem.downloadAsync, however this requires a direct URL to the resource to download. I've come across quite a few packages such as youtube-dl but they all require Node.JS to run.
My next thought was to use Node.JS within my app using nodejs-mobile - until I found out that you need to eject from Expo, which I definitely don't want to do.
Does anyone know of a way to download a YouTube video within an Expo app? Or just simply get a direct file link to pass into FileSystem.downloadAsync?
You might be able to use react-native-ytdl to get the direct video URL via their getInfo method (see this example) and then still use FileSystem.downloadAsync to download the file(s).
Since no linking is required, you wouldn't need to eject.

Missing dSYM files in Crashlytics Today extension (Bitcode disabled)

The title of this question basically says it all. I enabled Crashlytics in my Today extension, and for some reasons, the dSYMs are not being uploaded, even though I'm not using Bitcode.
I tried uploading them manually (from ~/Library/Developer/Xcode/Derived Data/Timelines-evxmjnxmpmcivkavmpijzakaxkrp/Build/Products/Debug-iphoneos/Timelines.app.dSYM), but the web interface doesn't really give me any feedback. It shows this screen:
No matter how long I wait, once I refresh the page, it goes back to the 'upload dSYMS' screen.
I think the problem might be that the UUIDs of the missing dSYMs don't really match those that I found locally.
Some notes on my setup:
Xcode 8.2
Today extension running on iOS 10.2
Bitcode is not enabled.
Fabric and Crashlytics integration was done using CocoaPods.
Archive wasn't uploaded to App Store. I'm just testing it locally on my devices. But since the entry for crash reports was created in the web interface, I assume the automatic upload should work anyway.
My question basically is: how exactly can I upload the dSYMs manually? And, second one: how can I make the automatic upload of dSYMs work? Thank you.
It is described here completely ==> fabric.io.
As it said you can download it from activity tab in itunesconnect and then upload it to crashlytics website.

ios 9 universal link is not Working?

I am facing some problem in Universal link iOS 9
So I followed the tutorial https://blog.branch.io/how-to-setup-universal-links-to-deep-link-on-apple-ios-9 and exactly use the same values as the one provided.
if app is already installed when i tap on Universal link,than i navigate to app store but is navigate to my App.
I have already done all the needed configuration given by Apple.
The Apple Association file is also ready in the link directory: WEB_PAGE:PORT_NUMBER/apple-app-site-association
Everything seems to be setup on this side.
I've added the entitlements, updated the provisioning profile, and everything's setup.
Has anyone perfected this? Is there something I missed out?