Can't use event on mobile event ?

Why I can’t use event on mobile ?

In case ::

kintone.events.on(‘mobile.app.record.create.show’, function( event ) {

     " … I can’t use _ event _ when open app on mobile device …"

     return event ;

});

Hello Nriismn!

Hmmm… What are you trying to do or achieve here with the mobile API event?

Hello Yuzo Arai ,

Thank you for your reply me, I can do it successed .

Thank you :slight_smile:

Just in case, I got it working on the mobile with:

(function() {
    “use strict”;
    kintone.events.on(‘mobile.app.record.create.show’, function(event) {
      console.log(“I can use events on mobile”)
      console.log(event);
    });
})();

 

In the JavaScript and CSS customization settings, there’s a place for uploading JavaScript for PC, and a different place for Uploading JavaScript for Mobile devices, which might have been the source of the problem.