can't add meteor package - javascript

I'm taking an Eduonix tutorial about meteor and I'm using joshowens, but it sends me this error while I'm trying to add the package:
"joshowens:accounts-entry INCOMPATIBLE WITH METEOR 0.9 OR LATER".
And as long as I'm working on windows it doesn't allow me to downgrade my Meteor version, could you help me?

For Meteor 1.2.0.1 version the following should work:
meteor add check
meteor add selaias:accounts-entry

Related

Is there a plugin that will let me communicate with a PocketBase database?

I'm trying to connect with a running PocketBase database. Normally, I would use their Javascript SDK to achieve this, but the package does not get shipped to the mobile device during the build process.
This means I either have to build my own set of functions to mimic the working of the PocketBase Javascript SDK, or use a NativeScript plugin.
I could not find an existing plugin mentioning PocketBase, does anyone know of a plugin that facilitates this?
I tried to install the PocketBase Javascript SDK directly from NPM using npm install pocketbase, but this module does not check shipped to the mobile device during the build process.
For example:
import PocketBase from 'pocketbase'
console.dir(PocketBase)
Running this from a NativeScript app logs "null" to the console.
Using import * as PocketBase from 'pocketbase' ended up working for me.
I installed the pocketbase SDK with npm i --save pocketbase.
For whatever reason using import PocketBase from 'pocketbase' as the PocketBase documentation suggests doesn't work in this case.

Unsupported Version of Play billing

i am using react-native-billing library with version 3.0.0. I am facing an issue i.e, when we roll out the APK for production, after upload we are getting this error message :
"We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app"
PROBLEM:-
I have manually added the following line in
android/app/build.gradle ->implementation project(':react-native-billing')
android/build.gradle -> minSdkVersion = 16,compileSdkVersion = 28,targetSdkVersion = 30
with these following details, the application is working fine but google refuses to upload our build with this error:-
"We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app"
SOLUTION WE TRIED:-
added the following line in android/app/build.gradle
implementation "com.android.billingclient:billing:3.0.0"
using Android API 30
With these changes, the build was successfully uploaded but we are not getting a product list from "In-app products".
And after adding this line in debugging mode the application was crashing on this line.
InAppBilling.open();
We are importing InAppBilling from the "react-native-billing" library.
Any help will be highly appreciated.
Ran into the same issue - it looks like the plugin react-native-billing was built off of another plugin (https://github.com/anjlab/android-inapp-billing-v3) when Billing Library version 2 was the standard. Plugin android-inapp-billing-v3 has since updated to Billing Library 3 but react-native-billing has not implemented the required changes to match up. I've been able to force react-native-billing to pull the newer version of android-inapp-billing-v3 and am attempting to update the plugin manually (so far unsuccessfully) but if better heads want to give it a crack:
in
~\node_modules\react-native-billing\android\build.gradle
update:
dependencies {
...
implementation "com.anjlab.android.iab.v3:library:${safeExtGet('anjlabIABVersion', '2.0.3')}"
}
then follow this migration guide:
https://github.com/anjlab/android-inapp-billing-v3/blob/master/UPGRADING.md

simple captcha field type for meteor autoform

I need a simple captcha field type for my form. I used meteor-autoform for generating form.
I don't know how to create custom (captcha) field type for auto-form.
For example how to wrap this node.js module to auto-form add-on.
I also don't want to use google reCaptcha.
Please guide me.
Ok a common issue when building with meteor is figuring out how to include node packages in a meteor project. Here's the way I do it!
Install the lovely meteorhacks:npm package which allows for easy node package wrapping.
meteor add meteorhacks:npm
Edit the packages.json file (which meteorhacks adds to your meteor project root)
The packages.json file should something like this:
{
"node-captcha" : "0.2.1"
}
Note: 0.2.1 is the latest package version of node-captcha which I found on the npm link you supplied.
Anytime you are including a node package using meteorhacks:npm, you need to list a node package version.
node-captcha can now be included in your meteor js files by using the following statement:
Meteor.npmRequire('node-captcha');
This should do the trick! Please accept my answer if this is what you are looking for :)

Meteor kadira no such package

we are developing our meteor application in a windows environment using the unsupported windows version of meteor. The latest release is 0.8.3. Ok in the windows environment we used meteor add for the packages. But if i write
meteor add meteorhacks:kadira
meteor add kadira
I always get the no such package message. mrt command doesnt work. Any ideas?Thanks
I think this question is duplicated. Please refer here
meteor add meteorhacks:kadira is available only in Meteor 0.9 and above.
For Meteor below 0.9 you have to use Meteorite which is currently not supported by windows.
I'm developing an application in Meteor 0.8.3 and I have to use mrt: https://github.com/oortcloud/meteorite
The command is:mrt add kadira
I highly recommend you to upgrade as soon as possible. If you application depends on atmosphere packages, you'll have a hard time try to upgrade it later. Today most packages are obsolete because the creators don't care about it anymore.
Having in consideration that you're using an unsupported windows version: I don't really know if this is going to work. It's work great for Meteor at version 0.8.3 today.

Meteor Spiderable package is not working with Meteor 0.9.0

I have followed all instructions for installing the phantomjs and spiderable package (working from this video: https://www.eventedmind.com/feed/meteor-the-spiderable-package) and I can see the tag appear okay. However on both localhost and the deployed application, the source shows only the typical meteor javascript files. It does not convert the script to proper html.
I have checked that phantomjs is installed both locally and on the production server. I have checked that the spiderable package is listed in my meteor app. If I add ?_escaped_fragment_= to the URL I can see the html source is correct. I am running Meteor 0.9.0 if that makes any difference.
Please visit the production site to see : http://www.theyfind.me/
Any help is appreciated.
if you have Meteor 0.9 or later you must install the package without meteorite. Now, you must to install the package with Meteor add, for example in your case:
Spiderable
http://atmospherejs.com/gadicohen/spiderable-remote
meteor add gadicohen:spiderable-remote
Phanthom
http://atmospherejs.com/gadicohen/phantomjs
meteor add gadicohen:phantomjs

Categories

Resources