110
Views
8
Comments
Solved
[Quick App Template] Unknown "Generate Token" error after upgrading references
Question
quick-app-template
Mobile icon
Forge asset by OutSystems Lab

Hi Team,

I installed the app template and all it's dependencies. Before the upgrade there was no errors, after the upgrade there is 2 errors. In the GetFirebaseData server action is says "Required Property Value
Unknown 'GenerateToken' Action in 'GenerateFirebaseToken' Run Server Action.".

Please advise as to how to fix.

UserImage.jpg
Botha van der Vyver
Solution

Hi Jorge,

Looks like the GenerateToken was moved to the FireBaseUtils library. I updated the reference and now the solution is working.

Thanks

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Botha,

Can you explain what upgrade you are referring to? There is only one published version of this component.

UserImage.jpg
Botha van der Vyver

Hi Jorge,

I needed to upgrade the application to the latest platform version I am working on which is 10.0.702.0.

Then I needed to refresh all the module dependencies. It is after this that the Firebase module became incompatible as there is now server actions that have changed / fell away as indicated above.

Which actions have replaced the legacy ones?

Regards

UserImage.jpg
Botha van der Vyver
Solution

Hi Jorge,

Looks like the GenerateToken was moved to the FireBaseUtils library. I updated the reference and now the solution is working.

Thanks

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Botha,

Thanks for the explanation, these kinds of changes add strength to our intent of removing the FireBase dependency altogether, it will simplify the template and we're not making use of it afterwards anyway... 

UserImage.jpg
allan bandanes

Hi,

I have the same problem with this app template. I have downloaded and open the application.

I have change the dependencies to FirebaseUtils but still have the same error.

Please help me how to fix this.

Thank you.

generateerror.JPG
2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Allan,

Unless you expect to need Firebase, I suggest you remove all screens and and references to Firebase altogether. If you do need them, then I suggest you take a look at the latest version of the Customer App Template, the basis of this template, as our next release will be a further streamlined version that removes all those dependencies.

UserImage.jpg
allan bandanes

Hi,

Thank you for your reply. I will do as you had said. 

Thanks.

UserImage.jpg
Larry Venneman

Get the error "Producer 'MobilePatterns' module definition is incompatible.  Please update it.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.