Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically display Android surveys and in-app notifications #16

Open
timanrebel opened this issue Dec 2, 2014 · 1 comment
Open

Comments

@timanrebel
Copy link
Contributor

Currently surveys and in-app notifications are only shown when requested manually. It would be nice if they were shown automatically.

To do so we probably need to do some changes in the structure of the SDK. We currently 'enable' the module by calling initWithToken, but when we call this method the Activity has already been loaded. We might need to set the token in tiapp.xml and automatically can initWithToken when the app is started.

We need to do some more research.

@jonatansberg
Copy link
Member

The initWithToken call could also simply be moved to alloy.js (or app.js) if we want to initialize the module before any other activities/windows are started/opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants