-
AuthorPosts
-
November 27, 2018 at 5:28 pm #17297
senseirodParticipantI am trying building wplms app for android but there are two many complications. I am able to run it in browser but still need to build apk and then have to do same thing for building ipa. Now the thing i noticed is that there are too many complications, why not you provide some ready to build package for adobe online phonegap build service where zip file can be uploaded and it instantly generates apk and ipa files etc. As i have read on internet that ionic projects can be built using adobe phonegap online build service so why not provide the package which is ready to be buit using online adobe phonegap build service. ThanksNovember 28, 2018 at 6:46 am #17337
AlexKeymasterThat is great idea but we need to think of a way to do this at server end .We would need to make some automated commands for this . You maybe right we can build ionic app also using adobe phonegap build service . Wplms app is using some cordova plugins as well as some libraries like videogular for video player . So you might need to make sure that make a prallel phonegap blank project with all those cordova plugins and dependencies installed . refer : https://stackoverflow.com/questions/35460796/is-it-possible-to-build-ionic-apps-on-the-adobe-phonegap-build-server If you are still struggling with it then please follow :Rename the node_modules folder in your ionic project from node_modules to ” [email protected]@@@ ” and then :
In your ionic project folder replace the package.json file with the one given in below link
and in command prompt or terminal run this command :
npm install
after that please follow :
First remove the android platform :
cordova platform rm android
Please also make sure you have installed these plugins in your ionic setup :
cordova-plugin-camera 2.4.1 “Camera”
cordova-plugin-compat 1.2.0 “Compat”
cordova-plugin-console 1.0.5 “Console”
cordova-plugin-device 1.1.7 “Device”
cordova-plugin-facebook4 1.7.4 “Facebook Connect”
cordova-plugin-file 4.3.3 “File”
cordova-plugin-file-transfer 1.6.3 “File Transfer”
cordova-plugin-googleplus 5.3.2 “Google SignIn”
cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”
cordova-plugin-inapppurchase 1.1.0 “In App Purchase”
cordova-plugin-splashscreen 4.1.0 “Splashscreen”
cordova-plugin-statusbar 2.4.2 “StatusBar”
cordova-plugin-whitelist 1.3.3 “Whitelist”
cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”
ionic-plugin-keyboard 2.2.1 “Keyboard”
Please check for the corodova plugins .
Install the cordova plugins with their versions mentioned above .
first remove plugin :
cordova plugin rm {cordova plugin name}
the add
cordova plugin add {cordova plugin name}@{version}
example :
cordova plugin add [email protected]
then re -add platform :
cordova platform add [email protected]
November 28, 2018 at 4:10 pm #17371
senseirodParticipantYes i am able to run everything in the browser, but stuck on apk and ipa generation. So i will go and update here if see any issue. Creating phonegap build ready package is really necessary as i can see many people on forum getting issues while compiling the ionic app. So in case of phonegap ready package, it will skip everything like installing node js, ionic cli and sdk's etc and it will even make your wplms app product more powerful and more profitable as everyone can not do the technical steps. ThanksNovember 29, 2018 at 6:27 am #17389
AlexKeymasterYes that is a great idea there .We will surely do something for this .Ultimately it will help us in reducing the support also .December 4, 2018 at 7:48 pm #17555
senseirodParticipantI am able to build app using xcode but when running on emulator it loads fine but do not show all the things properly, layout looks distorted. Similarly app is archived fine, build passed and uploads but i get email from apple regarding adding some purpose string. So mainly until phonegap online build ready project is not provided, it is difficult to test the app before submission. Currently only thing we can test is that we can see the app in browser by running ionic serve. Till yet there is no easy way to build app for android and ios for submission. Kindly help me to create phonegap ready package for the app. I followed your provided link but your app source is coded somehow different and it generates several errors while building using phonegap build. Can you create ready to build package for phonegap build and test it and then share that package in envato for the users? ThanksDecember 5, 2018 at 7:29 am #17603
AlexKeymastersome purpose string : this is connected to some this : https://stackoverflow.com/questions/52002466/error-appstore-connect-missing-purpose-string-in-info-plist-file Please add this these strings in your : platforms > ios > your_app_name > your_app_name-Info.plist <key>NSCameraUsageDescription</key> <string>This app requires Camera usage to assign a profile picture of you in your App profile.</string> <key>NSPhotoLibraryUsageDescription</key> <string>This app requires photolibrary usage to upload a profile picture of you in your App profile.</string> put the above lines exactly where <key> tag appears . there is way to check app on phone in case of Ios also with Xcode . https://docs.monaca.io/en/products_guide/monaca_ide/deploy/non_market_deploy/December 9, 2018 at 8:13 pm #17713
senseirodParticipantI followed, added those strings as said and submitted again, but i got following message from apple Dear Developer, We identified one or more issues with a recent delivery for your app, "Aviation Learning". Please correct the following issues, then upload again. Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSPhotoLibraryUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy). Though you are not required to fix the following issues, we wanted to make you aware of them: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1. Best regards, The App Store TeamDecember 10, 2018 at 11:58 am #17733
AlexKeymasterfor first : Please follow this solution : https://stackoverflow.com/a/39519960 for " Apple Push Notification service " : Wplms app is not using " Apple Push Notification service " as of now .It seems like you might have enabled that service while creating your app. Please disable it : https://stackoverflow.com/a/39633553December 16, 2018 at 7:25 am #17892
senseirodParticipantI successfully submitted the app and got the following message with rejection Guideline 3.1.1 - Business - Payments - In-App Purchase We noticed that your app or its metadata enables the purchase of content, services, or functionality in the app by means other than the in-app purchase API, which is not appropriate for the App Store. Next Steps While the payment system that you have included may conduct the transaction outside of the app, if the purchasable content, functionality, or services are intended to be used in the app, they must be purchased using in-app purchase, within the app - unless it is of the type referenced in guideline 3.1.3 of the App Store Review Guidelines. In-App Purchase It may be appropriate to revise your app to use the in-app purchase API to provide content purchasing functionality. In-app purchase provides several benefits, including: - The flexibility to support a variety of business models. - Impacting your app ranking by consolidating your sales to one app rather than distributing them across multiple apps. - An effective marketing vehicle to drive additional sales of new content. For information on in-app purchase, please refer to the following documentation: In-App Purchase for Developers In-App Purchase Programming Guide For step-by-step instructions on in-app purchase creation within App Store Connect, refer to App Store Connect Help.January 4, 2019 at 11:51 pm #18485
senseirodParticipantI have made courses free as we are getting rejections due to in app purchases but i got the following rejection message now. They are saying that tapping free does not work and they are unable to start any course on the app. Kindly check the following message We discovered one or more bugs in your app when reviewed on iPad running iOS 12.1.2 on Wi-Fi. Specifically, we have been unable to start any of the courses. Tapping ‘Free’ seems to have no effect. Next Steps To resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review. If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work. For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue. Resources For information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide. For a networking overview, please review About Networking. For a more specific overview of App Review’s IPv6 requirements, please review the IPv6 and App Review discussion on the Apple Developer Forum. Here are the screenshots they attached https://prnt.sc/m3747g https://prnt.sc/m373ywJanuary 7, 2019 at 9:41 am #18528
AlexKeymasterWell this is our code .We need to check it .Can you please provide your site url and admin credentials in private reply to check this out .January 9, 2019 at 7:23 am #18612
AlexKeymasterOkay we got it now .the issue is very common please follow this to resolve this :put this line in your .htaccess file at the end (.htaccess can be found in root of your site ):
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
IF above does not works then please change the above line to :
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1
-
AuthorPosts
- You must be logged in to reply to this topic.