Cordova File plugin never becomes ready in Android

前端 未结 3 1851
花落未央
花落未央 2021-01-06 01:05

I have a dead simple Cordova app with a single plugin: org.apache.cordova.file.

When I emulate the app in an android emulator, the deviceready event is

3条回答
  •  星月不相逢
    2021-01-06 01:21

    You need to include cordova plugin before closing of body tag , so that cordova gets loaded properly before body loading completes.
    
    
    
    
        
        
        
    
            
            
        
    
    

提交回复
热议问题