somehow the device needs to say: "I belong to android variant"
something that i was thinking about after doing some examples is that i'm not sure how i feel about using the PK's of each table as the identifier to register/broadcast clients.We are sort of giving meaning to data that really shouldn't have meaning. it should really only be used to identify the row. It might be better to have another key on each table/object that is the identifier.So in one of the examples i did, the app on the device will register the device with the push server, but i needed to also include the id of the variant instancei guess i'm thinking if someone migrates their database, these keys could get messed up.wdyt?On May 28, 2013, at 2:53 AM, Matthias Wessendorf <firstname.lastname@example.org> wrote:
On Tue, May 28, 2013 at 8:51 AM, Corinne Krych <email@example.com> wrote:
in selective push is:==> variant: iOS + alias: mwessendorfa valid criteria too?
yes. let me update the related doc(s)On 28 May 2013 08:51, Corinne Krych <firstname.lastname@example.org> wrote:
On 28 May 2013 08:48, Matthias Wessendorf <email@example.com> wrote:
TYPO:==> variant: iOS (since a PushAPP _might_ have only one iOS variant) + deviceType:iPadMini + alias: mwessendorf
or==> variant: iOS (since a PushAPP _might_ have only one iOS variant) + deviceType:iPhone + alias: mwessendorf
On Tue, May 28, 2013 at 8:43 AM, Matthias Wessendorf <firstname.lastname@example.org> wrote:On Tue, May 28, 2013 at 12:00 AM, Corinne Krych <email@example.com> wrote:
When doing selective push query, is there any overlap between mobile variant (which I understand like mobile type which contains certificates) and device type?MobileVariant (or call it type) is something like "Android", or "iOS".deviceTypes would be iPad, iPod, iPhone, iWatch :) - or "Android Table", "Andrpid phone", android what notSure.... ideally there are several variants:- iOS iPhone 5 optimised app in the app store- iOS iPhone 4s optimised app in the app store- iOS iPhone 3 optimised app in the app store- iOS iPad mini optimised app in the app storeetc :)But, if there is only one variant, it's totally valid to install an iOS application (from the appstore), on an iPad and an iPhone;Both aimed at defining categories.Are those categories defined and fixed in the spec or can they be extended?I don't understand categories, hereCan we do a selective push based on mobileType=mobile variant and alias=john@gmail?