Two users Having same HomeKit controller application installed on two different iPhone.
User 1 adds Home, Rooms, Zones and Accessories using the application and he can now control the Accessories, using the app interface.
User 2 is in same environment (either in physical Home which has all the Accessories of user 1), But how can he control these accessories using the same app, how he will be able to see all the Rooms, Zones and Accessories added by the User 1?
How does HomeKit manages this multiple user accessing same Accessories scenario, or do we need to handle this scenario by our self in code?
Also how does it maintains the identity of the user with Home, that this particulate Home belongs to this XYZ user? As all the HomeKit user data is synced with iClod there should be some identity mapping for the Home entity.
I have done a much workaround for this.
First of all handling things by our own is not preferable for multiple users.
I had this query that how all configuration done on one device will reflect on another device for same home.
Unfortunately apple didn't provided much information on this and they also didn't clarify that Apple TV will require or not(As I have referred to some reports that says Apple TV will use as intermediator between iOS devices.
Now at application side i have tried to add User to home.
There is a HMUser class and we can add user to any home that we want to sync.
I was running my app in iOS 8.1 in both the devices, I was also logged in to icloud and keychain access was also enabled.
Now i have tried to add user using method of HMHome class
-addUserWithCompletionHandler()
I shows a popup in which we need to enter the email id of user to which we want to give access to current home.
But it didn't work. I always get error "notification not enable at remote side"
I think that login to Apple TV is require for adding user. I am not sure about this, Apple hasn't clarify on this too.
I don't have Apple TV if you have try to login in it and use two other iOS devices to give access to any icloud account.
Also revert me if it works.
Related
I have developed an app that synchronises our users' Google contacts with the School's database. When I submitted the consent screen for verification I was asked to change the display name, as it violated branding policies by including GMail in the title. However when I try to update the consent screen in the API Console, after changing the app name the Save button remains greyed out, so I can't change it. How do proceed now?
Note the app is currently in use with an unverified consent screen, but new users are now unable to sign up since Google appear to have tightened their policies.
Also the app is only used by members of our organisation, so it should really be an internal app. However the Make Internal link is deactivated, apparently because I am not a G Suite User. However we have a G Suite for Education account, so does this not make me a G Suite user?
As no-one has provided a solution it looks like there is none. Therefore I’ve resorted to my plan B, which is to create a new API Project and consent screen, This time I created it as an internal project, which avoids any complications of validation. The previous project was created public as it was envisaged that parents with private Gmail accounts might also use it. However with the constraints of GDPR it has been decided to restrict it to employees only. Fortunately I have found a way for existing users to continue using the old version, while new users have to register using the new consent screen.
It appears that the message about not being able to change to a local project if you’re not a G Suite user is a red herring. I suspect you just can’t change project type once it’s in use, because of the possible implications for existing users,
Dynamics 365 online - We are facing one problem with the Dynamics CRM mobile client. When a user pinned a view of an entity, it appears as required on that particular mobile device as and when user logins into the same device. But, when the user logs in again with the same credentials in a different device or opens the Dynamics CRM in Tablet mode in the browser, the pinned view gets removed from the "Home". It seems like Microsoft is managing it at the device level. We would like to manage it at the user level, like user's personal settings and that should be applicable wherever the same user logins anywhere on any devices. Please advise.
User has to reconfigure the app to see the changes in effect.
Reconfiguring deletes all data and metadata from the cache, though you
shouldn't rely on this as a security measure.
If you sign out of one organization and sign in to another, and then
use the Reconfigure option on the organization you signed in to, your
metadata will still remain for the organization you signed out of. To
remove your metadata from the organization you signed out of, you’ll
need to sign in to it and use the Reconfigure option there, as well.
Here's how to do it:
Tap Dynamics 365 ellipsis (3 dots).
Tap User
Information.
Tap Reconfigure.
I want to request the permissions that I need for my android wear app upfront as per this. So Programmatically where exactly I should put my permission request code. Also is the protocol to ask for Permission the same as the mobile app like this.
All of the permissions are controlled in the Androidmanifest. Here is an example of some permissions being declared in the Androidmanifest:
These permissions are used to get the weather from the device and relay the information to an Android Wear device. Google offers documentation for developers to use to determine what permissions should be used. Declaring permissions should happen in the Androidmanifest in the format provided in the image. In the sample code posted, it is not necessary to include watch permissions, they are only required if the app works with Android Wear.
Way back in the day Google added a feature in Android 4.3 that let the user control what permissions apps could access on a per app basis known as App Ops. This was a great feature that cut down on privacy issues and gave users the piece of mind knowing that random apps installed could not access the device’s location. When Google introduced Android 6.0 Marshmallow, This time when an app needs to use a permission a dialog box pops up on the screen and asks the user if it is OK that the app uses a certain permission. This may get a little annoying, but at least every permission used by an app has to go through the user first.
If your app doesn't already have the permission it needs, the app must call one of the [requestPermissions()](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.html#requestPermissions(android.app.Activity, java.lang.String[], int)) methods to request the appropriate permissions. Your app passes the permissions it wants, and also an integer request code that you specify to identify this permission request. This method functions asynchronously: it returns
right away, and after the user responds to the dialog box, the system calls the app's callback method with the results, passing the same request code that the app passed to requestPermissions().
You should dynamically request the permissions from user on wearable devices just the same way you do on the phone side.
I'm implementing an in app purchase for a Non-renewing subscription in my app. I'm using an account system so I'm linking the purchase to the user account in my server. This works fine but recently I read that the purchase should be linked to an apple id. I'm a little confused because I thought you couldn't get access to an apple id. So I have some questions:
Could my app be rejected for link the purchase to an account in my system?
I read that I could use the UUID as user identifier in my server and save it in user defaults but I don't know how to identify the user if He switch devices?
If identify the user with the UUID works, I would like to control if the user logs in with the right account in my system so if he has the right UUID but a different account, He should not get access to my functionality. Is this possible or my app would be rejected for this kind of control?
Links:
In app purchase - Subscription - not based on Apple Id and How to store and fetch the response of in-app purchase in ios?
In the apple documentation saids that you should use transactions recipes for restore in case the user switch devices but in Non-renewing subscriptions the app will be responsable for the restoration process.
https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Restoring.html#//apple_ref/doc/uid/TP40008267-CH8-SW9
I'm using MS Lync for Mac version 14.0.10.
Is is not possible for me to see my or collegues avators/profile pictures.
Other Mac users in the company have the same issue. Windows users aren't affected.
I already found this issue asked by someone on the office365 community, but without any solution.
Depending on your infrastructure, user photos are either stored in Active Directory (thumbnailPhoto) or in Exchange. Lync on Windows integrates with Outlook to pull this info.
If you're a full-on O365 user, I would think you should see the photos. I admit I'm not all that familiar with Office:Mac
Also, your photos can be stored anywhere on the inter/intranet. Photo locations can be restricted in CsClientPolicy.
You could try to set a user photo URL for one of the users (make sure it's public/web available). If this user photo does show up on Mac, it means the current photos are stored somewhere Macs cannot access them like AD (see the answer by #blaughw).
Setting user photos to a public URL also has the advantage of allowing external (federated) contacts to see your picture, as they obviously have the same problem of not being able to access your AD data.