Undefined symbols for architecture i386

Answered

Comments

1 comment

  • Avatar
    Clint Ghosn

    Solved by using Phonegap-Plugin-3.0 ( https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin/releases/tag/Phonegap3.0 )

    I manually installed the plugin by following the README.md inside the directory:

    Manual Installation for iOS

    Copy the following files to your project's Plugins folder:

    HtmlWebViewController.h 
    HtmlWebViewController.m 
    PWGetNearestZoneRequest.h 
    PWGetNearestZoneRequest.m 
    PWPushStatRequest.h 
    PWPushStatRequest.m 
    PWRegisterDeviceRequest.h 
    PWRegisterDeviceRequest.m 
    PWRequest.h 
    PWRequest.m 
    PWRequestManager.h 
    PWRequestManager.m 
    PWSendBadgeRequest.h 
    PWSendBadgeRequest.m 
    PWGetTagsRequest.h 
    PWGetTagsRequest.m 
    PWSetTagsRequest.h 
    PWSetTagsRequest.m 
    PushNotificationManager.h 
    PushNotificationManager.m
    

    Add a reference for this plugin to the plugins dictionary in Cordova.plist:

    <key>PushNotification</key>
    <string>PushNotification</string>
    

    Add the PushNotification.js script to your assets/www folder (or within a javascripts folder within your www folder) and reference it in your main index.html file.

    <script type="text/javascript" charset="utf-8" src="PushNotification.js"></script>
    

Please sign in to leave a comment.