This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { spawn } = require('child_process'); | |
| const child = spawn('./gradlew', [], { cwd: './android' }); | |
| child.stdout.on('data', data => { | |
| console.log(`stdout:\n${data}`); | |
| }); | |
| child.stderr.on('data', data => { | |
| console.error(`stderr: ${data}`); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation UIStatusBarManager (CAPHandleTapAction) | |
| -(void)handleTapAction:(id)arg1 { | |
| NSLog(@"handle tap"); | |
| } | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, viewport-fit=cover"> | |
| <title>statusbar test</title> | |
| </head> | |
| <body style="height:100%;margin:0px;padding:0px;width:100%;"> | |
| <div style="background-color:red;height:45px;position:absolute;top:0">AAA</div> | |
| <div style="background-color:red;height:45px;position:absolute;top:0;right:0;">BBB</div> | |
| <div class="app" style="margin:80px"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> | |
| <title>Tutorial Push</title> | |
| <script> | |
| document.addEventListener("deviceready", deviceReady, false); | |
| function deviceReady() { | |
| var push = PushNotification.init({ | |
| android: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gcm = require('node-gcm'); | |
| var sender = new gcm.Sender('AIzaSyCdkyeCkVWgsV1RiWOzfWQ_1WW2m8pWfow');//API key de la parte 1 del tutorial | |
| var registrationIds = []; | |
| var message = new gcm.Message(); | |
| message.addData('message',"\u270C Peace, Love \u2764 and PhoneGap \u2706!"); | |
| message.addData('title','Push Notification Sample' ); | |
| message.addData('msgcnt','3'); // Se muestra en la notificación en la barra de tareas. |