Hello,thanks for your answer, but I have this error when I try to create my
project with crosswalk-app
crosswalk-app create org.com.test + Copying app template from
...node_modules/crosswalk-app-tools/app-template + Loading 'ios' platform
backend + Clone project [done] Cloned.*** ERROR:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213:
warning: Insecure world writable dir /Users/user/bin/Sencha/Cmd/6.1.2.15 in
PATH, mode 040777Analyzing dependencies[!] The dependency `crosswalk-ios (from
`../`)` is not used in any concrete target.
+ Logfiles at
/var/folders/yg/wnmtnpr52yv7zfffrkgffj4h0000gn/T/crosswalk-app-tools-org.com.test
Thanks in advance
Le Lundi 30 mai 2016 4h45, "Zhang, Belem" <[email protected]> a écrit :
#yiv1174749727 #yiv1174749727 -- _filtered #yiv1174749727
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv1174749727
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv1174749727
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv1174749727
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv1174749727
{panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv1174749727 #yiv1174749727
p.yiv1174749727MsoNormal, #yiv1174749727 li.yiv1174749727MsoNormal,
#yiv1174749727 div.yiv1174749727MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv1174749727 a:link,
#yiv1174749727 span.yiv1174749727MsoHyperlink
{color:#0563C1;text-decoration:underline;}#yiv1174749727 a:visited,
#yiv1174749727 span.yiv1174749727MsoHyperlinkFollowed
{color:#954F72;text-decoration:underline;}#yiv1174749727
span.yiv1174749727EmailStyle17 {color:#1F497D;}#yiv1174749727
.yiv1174749727MsoChpDefault {font-size:10.0pt;} _filtered #yiv1174749727
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv1174749727 div.yiv1174749727WordSection1
{}#yiv1174749727 Hi, We supportcordova plugins but don’t supportcordova
plugin add cordova-plugin-crosswak-webviewfor iOS platform, please follow
https://crosswalk-project.org/documentation/ios.html to create Crosswalk for
iOS apps and add Cordova Plugin APIs. BR Belem From: Crosswalk-help
[mailto:[email protected]]On Behalf Of rejeb
zorgani
Sent: Monday, May 30, 2016 4:01 AM
To: [email protected]
Subject: [Crosswalk-help] please help : crosswalk webview IOS Hello, any
person arrive to add crosswalk webview in ios with objective c ? for a while I
try but without results. all my steps cordova create PocIOS
com.xyz.pocios PocIOS cordova platform add android cordova platform add ios
cordova plugin add cordova-plugin-crosswak-webview I add some lines inside
MainViewController.h #import <WebKit/WebKit.h> #import <UIKit/UIKit.h>
@interface MainViewController : CDVViewController <WKScriptMessageHandler,
WKScriptMessageHandler, WKNavigationDelegate, WKUIDelegate> { IBOutlet
WKWebView *myWebview; } I add some other lines inside MainViewController.m
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup
after loading the view from its nib. WKWebViewConfiguration
*theConfiguration = [[WKWebViewConfiguration alloc] init];
WKUserContentController *controller = [[WKUserContentController alloc] init];
[controller addScriptMessageHandler:self name:@"IosPoc"];
theConfiguration.userContentController = controller; //WKWebView
*myWebview = [[WKWebView alloc] initWithFrame:self.view.bounds
configuration:theConfiguration]; NSURL *myURL = [NSURL
URLWithString:@"https://www.google.com/"]; NSURLRequest *myRequest =
[NSURLRequest requestWithURL:myURL]; [myWebview loadRequest:myRequest];
[self.view addSubview:myWebview]; } -(void)webView:(WKWebView *)webView
didStartProvisionalNavigation: (WKNavigation *)navigation { } -
(void)webView:(WKWebView *)webView didFinishNavigation: (WKNavigation
*)navigation{ } -(void)webView:(WKWebView *)webView didFailNavigation:
(WKNavigation *)navigation withError:(NSError *)error { } -
(void)userContentController:(WKUserContentController *)userContentController
didReceiveScriptMessage:(WKScriptMessage *)message { NSDictionary
*sentData = (NSDictionary *)message.body; NSString *messageString =
sentData[@"message"]; NSLog(@"Message received: %@", messageString); }
For information, I don't have error message or something, everything is ok.
Then I build my project cordova build ios navigator.userAgent
"Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46
(KHTML, like Gecko) Mobile/13E230 (140227893095872)" any help ? thanks
in advance
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help