Actions-on-Google - How to re-activate app in simulator? - google-cloud-platform

I was trying to integrate my Actions-on-Google assistant app with OAuth 2.0. It wasn't working and I was playing around with the UI flipping switches to find out what would work. When I inactivated the app, I couldn't re-activate it!
The error message is 'Your app must have at least one action to test' (screenshot). But the app is fully functional and I could test it before inactivating. The app code is here for reference.
To be sure that I haven't messed up anything else, I also inactivated another similar project number-genie that I had successfully working and that too cannot be activated again and shows the same message!
How can I reactivate the simulator for testing?

Usually Actions will become inactive after some period of time (this used to be 30 minutes, but I'm not sure if that is the current timeout).
You can go back to API.AI and re-click on the Test button to have it re-deploy for the simulator. You can then make it active again.

Related

Google OAuth external application in production needs verification, but login still works

We configured an OAuth consent screen in Google Cloud Console. Our application is configured like this:
We only request non-sensitive scopes:
As you can see, our application needs verification because we added application logo (it is not possible to remove it, arghhhh Google). However, users can still log in without any warning. Is this expected? Will it continue to work forever, even if verification status is "needs verification".
Ok im going to assume that your application was previously verified and all you did was change the logon.
In this instance what happens is that your app gets unverified by you can apply for verification again.
Due to the fact that its just a cosmetic change ie the logo. It shouldn't take long its just a formality really.
If you check the needs-verification link you will find that it states. that if you make changes to your projects consent screen, for example by changing the logo.
Your projects last verified consent screen will be showed to the users until the changes have been verified.
So your users are just seeing the old verified screen, if you want them to see your new logo then you have to submit it for verification again. as all you changed was the logo it shouldn't take long.
Note from me: I think this is an awesome change, last i checked the app would start to though an unverified app error message to the users. IMO this is a much better option. Your users can continue to use your app unmolested while google takes there time verifying the app again.

SwiftUI Resuming a navigation flow part way through

Is it possible to resume a navigation flow part way through after resuming the app? For example, if a user has registered an account, goes to validate their email but forgets and re opens the app later on, can we send them straight to the "Waiting for Validation" screens.
I get very strange behaviour when I attempt to set multiple navigation booleans to true on app start up to attempt to activate multiple NavigationLinks. The app occasionally opens on the desired page, but more often only on the second page in the flow.
Has anyone faced a similar problem in the past?

How to measure the total amount of time my React Native app gets used

I am about to launch a beta version for my react native application, and I want to get information on how much time users stay on my app, and actually use it, how frequently they enter it etc. That would help giving me feedback. Also could be useful to know which pages get used the most. Is there such a thing that exists for that?
You may use analytics in your project. Google Firebase provides analytics. But I use Appcenter Analytics for my app. You can add custom events as well to track which page the user has opened or to find whether the button was clicked by user. Here is a screenshot from Appcenter dashboard.

Facebook Page Webhook stopped working. It was working from last 1 year

We have configured webhook in facebook app earliear.
After subscribing the facebook page we were able to receive real time update on our server from facebook page.
Now webhook was stopped working.
We are not getting any real time update for new post from facebook page.
We have pre-configured setup as per bellow guide:
https://developers.facebook.com/docs/pages/realtime/
I'm able to view that my page has installed my app by using bellow sample api:
GET graph.facebook.com/PageID/subscribed_apps
But not getting real time update
Any help will be appreciated.
In general, if a webhook stops working: For Remove the webhook, and then add it again. (This helps in most such cases. Facebook will stop sending updates if your endpoint is too slow to respond or responds with errors over a certain period of time.)
One thing to add,My facebook app is not live but it has been working from last year.
If you want updates from a “live” page (as opposed to one created by a test user), you need to set your app live now as well.
Previously apps in dev mode were mostly unrestricted, but with the current changes in light of Cambridge Analytica, they changed that.

Windows Phone app crashes when navigating back from a task

Some pages in my app allow users to click a hyperlink to launch the external browser via a WebBrowserHelper.
I'm carefully saving the app state in OnNavigatedFrom and restoring it in OnNavigatedTo, but when the user navigates back from the web browser into my app, the app hangs, then crashes.
I've carefully followed the great blog post on the Windows Team Blog, but can also reproduce the bug using the provided code there (just add a WebBrowserTask to one of the button click events on the DetailsPage; or in fact a send SMS task).
Can anyone else confirm this bug, or perhaps point out something special that needs to be done to overcome it?
Whoops! Yes it turns out in most cases you just need to resume the debugger to have the app come back to life.
However in my case there is also a bug in my own code. As usual.