ios-app-group

How to use same Authenticated user token between main iOS app and its Share Extension

故事扮演 提交于 2019-12-31 03:27:08
问题 We have the main app integrated with Firebase SDK. User sign in via main application using email, google or facebook. Now, we have share extension implemented which ideally should share same Authentication session internally so that data can be sent on Firebase with the same user without asking him to login again through the extension. So, does anyone know the way to share Firebase authentication session between the Main app and share extension? Either we sent some internal call to the main

Xcode: Enable App Groups without developer account?

懵懂的女人 提交于 2019-12-24 03:01:44
问题 Is it possible to enable app groups without being enrolled in a developer program? I need to enable app groups to share data between the iOS app and its today extension. 回答1: Nope you need to be in a developer program for this 来源: https://stackoverflow.com/questions/29826086/xcode-enable-app-groups-without-developer-account

Should macOS App Group name start with `group.` or Development Team ID?

时光怂恿深爱的人放手 提交于 2019-12-23 17:00:08
问题 When I'm trying to upload my app to the Mac App Store, I get the error - iTunes Store operation failed. Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on Mac OS X. Specifically, value '[group.MyCompany.MyProject]' for key 'com.apple.security.application-groups' in 'com.MyCompany.mac.MyProject.pkg/Payload/MyProject.app/Contents/MacOS/MyProject' is not supported. This value should be a string or an array of

How to reference non-supported frameworks in Watch OS 2

情到浓时终转凉″ 提交于 2019-12-21 07:55:27
问题 I updated my app to the latest swift 2.0 syntax. In doing so, My watchkit app has become broken. The issue is the watchkit app references a class that references the framework AVFoundation. WatchOS2 apparently now no longer supports some of the standard frameworks: Support for network-based operations includes the following technologies: WatchKit extensions can access the network directly through an NSURLSession object. WatchKit extensions have full access to the NSURLSession capabilities,

how can I create and access share app group document directory?

两盒软妹~` 提交于 2019-12-20 07:40:46
问题 i am using custom keyboard extension then download keyboard theme from server and save in to app document directory but app document directory can not access in custom keyboard extension so, required to share app group directory. how can i do please help me. Now i am trying this but its not working. let fileManager = FileManager.default if let directory = fileManager.containerURL(forSecurityApplicationGroupIdentifier: "group.companyname.appname") { //let newDirectory = directory

Check full access for custom keyboard extension

倖福魔咒の 提交于 2019-12-18 12:42:39
问题 I need to check full access for custom keyboard extension. I found this link. How to check the "Allow Full Access" is enabled in iOS 8? It say we can check App group. I have app group called "group.TTT.TGroup". It share access between main app and custom keyboard. Then, I check like this. Problem is that I always have access to that (always has array or error = null). Is it because I am sharing same data? But, if my app use another app group and extension use other app group, I can't

settings bundle not working on watchOS 2

筅森魡賤 提交于 2019-12-18 05:54:09
问题 This was NOT a problem on watchOS 1, but now on watchOS 2 I cannot read the values on the watch extension. According to Apple docs, it is possible. According to some people on this thread, it is possible. According to an Apple employee on this thread, it is possible. I'm setting everything up correctly as far as I can tell: I enabled App Groups on both iOS app and watch extension with the same identifier. I added Settings-Watch.bundle to the iOS app and added the

Cannot access NSUserDefaults using app groups one to another

六月ゝ 毕业季﹏ 提交于 2019-12-18 04:03:57
问题 I'm working on an app and a widget that the widget needs to get data from app. I've used the following codes to read and write on NSUserDefaults. And also I used $(PRODUCT_BUNDLE_IDENTIFIER).widget for widget and $(PRODUCT_BUNDLE_IDENTIFIER) referring to this post. But widget cannot get the data from app or NSUserDefaults. How can I make it work? func addTask(name: String?) { let key = "keyString" tasks.append(name!) let defaults = NSUserDefaults(suiteName: "group.Mins") defaults?.setObject

Cannot access NSUserDefaults using app groups one to another

自闭症网瘾萝莉.ら 提交于 2019-12-18 04:03:10
问题 I'm working on an app and a widget that the widget needs to get data from app. I've used the following codes to read and write on NSUserDefaults. And also I used $(PRODUCT_BUNDLE_IDENTIFIER).widget for widget and $(PRODUCT_BUNDLE_IDENTIFIER) referring to this post. But widget cannot get the data from app or NSUserDefaults. How can I make it work? func addTask(name: String?) { let key = "keyString" tasks.append(name!) let defaults = NSUserDefaults(suiteName: "group.Mins") defaults?.setObject

How to upload application with app groups to Apple store?

假如想象 提交于 2019-12-12 16:24:00
问题 I create an app with Watchkit extension using App Groups function. Now I want to upload this app to Apple store. I do like this: Create App ID for my App (ex:com.standardApplication.tictactoe) Enable appGroup in Capabilities in Xcode for IOS app and Watchkit app using identifier: "group.com.standardApplication.ticTacToe" Create Provisioning Profiles for Development and Distribution on Certificates, Identifiers & Profiles center with my App ID that I create before. Download it and double klick