This works without problem when run in the FDK but when installed as a custom app in my instance. There is no log messages either from the installation methods nor from the scheduledEventHandler that would indicate the handler was called.
Is it supposed to be possible to register scheduled events from the onAppInstalled handler? How would I else have the schedule installed automatically as part of the installation by my user?
@kaa,
Welcome to the community!
The code snippet seems to be fine!
Can you please share the manifest file for our reference?
we just want to know if you are using platform version 2.0 or 2.1,
event definition is different from one version to another. if you are using 2.1 then you need to explicitly specify the event in manifest.
Thanks, but I’m not sure what you mean. The code you posted is the exact same I had in my original question, the only change is the quotes around the events property which really doesn’t matter.
Please note that my original code too works in local development but not in production as mentioned in the first sentence of my question.
@kaa,
I just tried with the quotes in prod it is not worked, and after that, I tried removing quotes and it got worked.
I request you to try the same and let me know
mean while I will investigate it in the local development (FDK)
Can you please share me the app zip which you are trying, I will try the same in my test environment,
along with that possible share me the app url (get it from dev portal)