VODACOM TZ ONLINE MAIN ACTIVITY APP SOURCE CODES (LEAKED)

Find breached emails, password, social accounts & Leaked documents here.. [ ONLY Members with atleast 3 meaningful article posts and have balance at least 75 H-Coins [ 1 Post = 10 H-Coins ]. PM the Administrator for confirmation ]

Moderator: mAsTeR-mInD

User avatar
mAsTeR-mInD
Moderator
Moderator
Posts: 18
Joined: Mon Jan 01, 2018 2:35 pm
x 3

VODACOM TZ ONLINE MAIN ACTIVITY APP SOURCE CODES (LEAKED)

#1

Unread post by mAsTeR-mInD » Sat Oct 13, 2018 7:43 am

// Ionic Starter App

// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
var myApp = angular.module('vodacom', ['ionic', 'pascalprecht.translate', 'vodacom.services','ngCordova']);

myApp.config(function($stateProvider, $urlRouterProvider, $translateProvider, $ionicConfigProvider) {
//$ionicConfigProvider.views.swipeBackEnabled(true);
$ionicConfigProvider.scrolling.jsScrolling(false);
$stateProvider.state('login', {
url : '/login',
templateUrl : 'App/Templates/login.html',
controller : 'loginCtrl'
}).state('home', {
url : '/home',
abstract : true,
templateUrl : 'App/Templates/menu.html',
controller : 'appCtrl'
}).state('home.dashboard', {
url : '/dashboard',
views : {
'menuContent' : {
templateUrl : 'App/Templates/dashboard.html',
controller : 'dashboardCtrl'
}
}
}).state('home.myprofile', {
url : '/myprofile',
views : {
'menuContent' : {
templateUrl : 'App/Templates/myProfile.html',
controller : 'myProfileCtrl'
}
}
}).state('home.myprofilesettings', {
url : '/myprofilesettings',
views : {
'menuContent' : {
templateUrl : 'App/Templates/myProfileSettings.html',
controller : 'myProfileSettingsCtrl'
}
}
}).state('home.customercare', {
url : '/customercare',
views : {
'menuContent' : {
templateUrl : 'App/Templates/customerCare.html',
controller : 'customerCareCtrl'
}
}
}).state('home.rechargetype', {
url : '/rechargetype',
views : {
'menuContent' : {
templateUrl : 'App/Templates/rechargeType.html',
controller : 'rechargeTypeCtrl'
}
}
}).state('home.deals', {
url : '/deals',
views : {
'menuContent' : {
templateUrl : 'App/Templates/deals.html',
controller : 'dealsCtrl'
}
}
}).state('home.netcoverage', {
url : '/netcoverage',
views : {
'menuContent' : {
templateUrl : 'App/Templates/networkCoverage.html',
controller : 'netCoverageCtrl'
}
}
}).state('home.lipakwaMpesa', {
url : '/lipakwaMpesa',
views : {
'menuContent' : {
templateUrl : 'App/Templates/lipaKwaMpesa.html',
controller : 'lipaKwaMpesaCtrl'
}
}
}).state('home.scratchcard', {
url : '/scratchcard',
views : {
'menuContent' : {
templateUrl : 'App/Templates/scratchCard.html',
controller : 'scratchCardCtrl'
}
}
}).state('home.mpesarecharge', {
url : '/mpesarecharge',
views : {
'menuContent' : {
templateUrl : 'App/Templates/mpesaRecharge.html',
controller : 'mpesaRechargeCtrl'
}
}
}).state('home.mpesasummary', {
url : '/mpesasummary',
views : {
'menuContent' : {
templateUrl : 'App/Templates/mpesaSummary.html',
controller : 'mpesaSummaryCtrl'
}
}
}).state('home.moreBundles', {
url : '/moreBundles',
views : {
'menuContent' : {
templateUrl : 'App/Templates/moreBundles.html',
controller : 'moreBundlesCtrl'
}
}
}).state('home.buyBundle', {
url : '/buyBundle/:ID',
views : {
'menuContent' : {
templateUrl : 'App/Templates/buyBundle.html',
controller : 'buyBundleCtrl'
}
}
}).state('home.subBundle', {
url : '/subBundle/:index',
views : {
'menuContent' : {
templateUrl : 'App/Templates/subBundle.html',
controller : 'subBundleCtrl'
}
}
}).state('home.commonSubBundle', {
url : '/commonSubBundle/:index',
views : {
'menuContent' : {
templateUrl : 'App/Templates/commonSubBundle.html',
controller : 'commonSubBundleCtrl'
}
}
}).state('home.selectedBundleDetails', {
url : '/selectedBundleDetails/:ID',
views : {
'menuContent' : {
templateUrl : 'App/Templates/selectedBundleDetails.html',
controller : 'selectedBundleDetailsCtrl'
}
}
}).state('home.selectedBundleSummary', {
url : '/selectedBundleSummary/:ID',
views : {
'menuContent' : {
templateUrl : 'App/Templates/selectedBundleSummary.html',
controller : 'selectedBundleSummaryCtrl'
}
}
}).state('home.termsCondition', {
url : '/termsCondition',
views : {
'menuContent' : {
templateUrl : 'App/Templates/termsAndCondition.html',
controller : 'tcCtrl'
}
}
}).state('home.privacyPolicy', {
url : '/privacyPolicy',
views : {
'menuContent' : {
templateUrl : 'App/Templates/privacyPolicy.html',
controller : 'privacyPolicyCtrl'
}
}
}).state('home.needHelp', {
url : '/needHelp',
views : {
'menuContent' : {
templateUrl : 'App/Templates/needHelp.html',
controller : 'needHelpCtrl'
}
}
}).state('home.faq', {
url : '/faq',
views : {
'menuContent' : {
templateUrl : 'App/Templates/faq.html',
controller : 'faqCtrl'
}
}
}).state('home.storelocation', {
url : '/storelocation',
views : {
'menuContent' : {
templateUrl : 'App/Templates/storeLocation.html',
controller : 'storeLocationCtrl'
}
}
}).state('home.roamingCountries', {
url : '/roamingCountries',
views : {
'menuContent' : {
templateUrl : 'App/Templates/roamingCountries.html',
controller : 'roamingCountriesCtrl'
}
}
}).state('home.puk', {
url : '/puk',
views : {
'menuContent' : {
templateUrl : 'App/Templates/pukRequest.html',
controller : 'pukRequestCtrl'
}
}
}).state('home.pleaseCall',{
url : '/pleaseCall',
views : {
'menuContent' : {
templateUrl : 'App/Templates/pleaseCall.html',
controller : 'pleaseCallCtrl'
}
}
}).state('home.spendLimit', {
url : '/spendLimit',
views : {
'menuContent' : {
templateUrl : 'App/Templates/spendLimit.html',
controller : 'spendLimitCtrl'
}
}
}).state('home.setSpendLimit', {
url : '/setSpendLimit',
views : {
'menuContent' : {
templateUrl : 'App/Templates/setSpendLimit.html',
controller : 'setSpendLimitCtrl'
}
}
}).state('home.activateSpendLimit', {
url : '/activateSpendLimit',
views : {
'menuContent' : {
templateUrl : 'App/Templates/activateSpendLimit.html',
controller : 'activateSpendLimitCtrl'
}
}
}).state('home.balanceTransfer', {
url : '/balanceTransfer',
views : {
'menuContent' : {
templateUrl : 'App/Templates/balanceTransfer.html',
controller : 'balanceTransferCtrl'
}
}
}).state('home.activateRoaming', {
url : '/activateRoaming',
views : {
'menuContent' : {
templateUrl : 'App/Templates/activateRoaming.html',
controller : 'activateRoamingCtrl'
}
}
}).state('home.contactUs', {
url : '/contactUs',
views : {
'menuContent' : {
templateUrl : 'App/Templates/contactUs.html',
controller : 'contactUsCtrl'
}
}
}).state('home.advanceCredit', {
url : '/advanceCredit',
views : {
'menuContent' : {
templateUrl : 'App/Templates/advanceCredit.html',
controller : 'advanceCreditCtrl'
}
}
}).state('home.vodacomPoints', {
url : '/vodacomPoints',
views : {
'menuContent' : {
templateUrl : 'App/Templates/convertPtsMpesa.html',
controller : 'convertPtsMpesaCtrl'
}
}
}).state('home.vodaPointsSummary', {
url : '/vodaPointsSummary',
views : {
'menuContent' : {
templateUrl : 'App/Templates/vodaPointsSummary.html',
controller : 'vodaPointsSummaryCtrl'
}
}
}).state('home.payByPoints', {
url : '/payByPoints',
views : {
'menuContent' : {
templateUrl : 'App/Templates/payByPoints.html',
controller : 'payByPointsCtrl'
}
}
}).state('home.rechargeBuyBundleusingPoints', {
url : '/rechargeBuyBundleusingPoints',
views : {
'menuContent' : {
templateUrl : 'App/Templates/rechargeBuyBundleusingPoints.html',
controller : 'rechargeBuyBundleusingPointsCtrl'
}
}
}).state('home.points', {
url : '/points',
views : {
'menuContent' : {
templateUrl : 'App/Templates/points.html',
controller : 'pointsCtrl'
}
}

}).state('home.spocLogin',{
url : '/spocLogin',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_login.html',
controller : 'spocLoginCtrl'
}
}
}).state('home.spocDashboard',{
url : '/spocDashboard',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_dashboard.html',
controller : 'spocDashboardCtrl'
}
}
})
.state('home.spocMyaccount',{
url : '/spocMyaccount',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_myaccount.html',
controller : 'spocMyaccountCtrl'
}
}
}
).state('home.spocResetPassword',{
url : '/spocResetPassword',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_resetPassword.html',
controller : 'spocResetPasswordCtrl'
}
}
}).state('home.spocServiceRequest',{
url : '/spocServiceRequest',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_serviceRequest.html',
controller : 'spocServiceRequestCtrl'
}
}
}).state('home.spocViewPayBills',{
url : '/spocViewPayBills',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_viewPayBills.html',
controller : 'spocViewPayBillsCtrl'
}
}
}).state('home.spocViewBase',{
url : '/spocViewBase',
views : {
'menuContent' : {
templateUrl : 'App/Templates/Spoc/spoc_viewBase.html',
controller : 'spocViewBaseCtrl'
}
}
}).state('home.netPerform', {
url : '/netPerform',
views : {
'menuContent' : {
templateUrl : 'App/Templates/netPerform.html',
controller : 'netPerformCtrl'
}
}
}).state('home.userSurvey', {
url : '/userSurvey',
views : {
'menuContent' : {
templateUrl : 'App/Templates/userSurvey.html',
controller : 'userSurveyCtrl'
}
}
}).state('otpVerification', {
url : '/otpVerification',
templateUrl : 'App/Templates/optVerification.html',
controller : 'verifyOTPCtrl'
}).state('splash', {
url : '/splash',
templateUrl : 'App/Templates/splash.html',
controller : 'splashCtrl'
}).state('home.usesHistory',{
url : '/usesHistory',
views : {
'menuContent' : {
templateUrl : 'App/Templates/usesHistory.html',
controller : 'usesHistoryCtrl'
}
}
});

// if none of the above states are matched, use this as the fallback
$urlRouterProvider.otherwise(function($injector, $location) {
var $state = $injector.get('$state');
$state.go('splash');
/*if (localStorage.getItem('login')) {
$state.go('home.dashboard');
//$state.go('login');
} else {
$state.go('login');
}*/
});

/*Language translation for English and Swahili. Default language would be Swahili.*/
$translateProvider.translations('ENG', {
WELCOME_VODACOM : 'Welcome to Vodacom',
LOGIN_ERROR : 'The mobile number entered is not correct. Kindly enter the correct number',
CONTACT_TITLE : 'Enter your mobile number', //login screen string
SUBMIT : 'Submit',
TERMS_AND_CONDITION : 'Terms & Conditions',
TERMS_AND_CONDITION_ERROR : 'Please accept terms and conditions to login',
OTP_TITLE : 'Please wait! You will receive an OTP SMS shortly', //OTP verification screen
OTP_VERIFICATION : 'Please enter OTP',
CANCEL : 'Cancel',
RESEND : 'Resend OTP',
OTP_VALIDATION : 'OTP required',
RESEND_OTP_CONFIRMATION : 'Your OTP request has been sent.',
HOME : 'Home', //Menu bar
MY_PROFILE : 'My Profile',
MY_BUNDLE_BALANCE : 'My Bundle Balance',
MY_AIRTIME_BALANCE : 'My Airtime Balance',
BUY_BUNDLE : 'Buy Bundle', //side menu
BUNDLE : 'Bundle',
RED : 'RED',
ROAMING : 'Roaming',
ROAMING_BUNDLES : 'Roaming Bundles',
ACTVDACTV_ROAMING : 'Activate/Deactivate Roaming',
PINDUAPINDUA : 'Pinduapindua',
ROAMING_COUNTRIES : 'Roaming Countries',
SELF_HELP : 'Self Help',
PLEASE_CALL_ME : 'Please Call Me',
AIRTIME_BAL_TRANSFER : 'Airtime Balance Transfer',
ADVANCE_CREDIT : 'Advance Credit',
CONTACT_US : 'Contact Us',
FIND_VODA_SHOP : 'Vodashop',
VODA_POINTS : 'Vodacom Points',
DEALS : 'Deals',
LOG_OUT : 'Log Out',
SETTINGS : 'Settings',
PRIVACY_POLICY : 'Privacy Policy',
RELEASE : 'Release',
VERSION : 'Version',
MY_NUMBER : 'My Number', //Dashboard screen
MOBILE_NUMBER : 'Mobile Number',
ACCOUNT_NAME : 'Account Name',
CREDIT_LIMIT : 'Credit Limit',
USAGE : 'Usage',
CALL_CENTER : 'Call Center',
WELCOME : 'Welcome',
MINUTES : 'Minutes',
RECHARGE : 'Recharge',
MY_MPESA_BALANCE : 'M-Pesa Balance',
MAIN_ACCNT : 'Main A/C',
CHECK : 'Check',
VOICE : 'Voice',
INTERNET : 'Internet',
UPDATED_AT : 'Updated at',
SMS : 'SMS',
UNIT : 'Unit',
MORE : 'More',
NEED_HELP : 'Need Help?',
NEED_HELP_HEADER : 'Need Help',
NEED_HELP_CONTACT : 'Need Help',
NEED_HELP_TEXT : 'Vodacom\'s commitment to all our customers is to provide the Best Customer Experience!,If you are not satisfied with Vodacom\'s service for any reason you have the right to complain through any of the channels below.Vodacom will take all measures to resolve your complaint in a timely manner',
NEED_HELP_LINK : 'For more information on our services click here',
NEED_HELP_INFORMATION : 'Bring all relevant details relating to your complaint (e. g date & time of the incident, product, details of any person you have spoken to in relation to your complaint etc). It will help us serve you better. The complaints process is free of charge.',
NEED_HELP_INFORMATION_LINK : 'Customer complaint process',
IMPORTANT_INFORMATION : 'IMPORTANT INFORMATION',
VALID_TILL : 'Valid till',
MPESA_TITLE : 'You will be charged to view M-Pesa Balance', //Check M-Pesa balance screen
ENTER_PIN : 'Enter PIN',
GO : 'Go',
APP_EXIT : 'Are you sure you want to close the app?', //logout popup
LOG_OUT_TITLE : 'Are you sure you want to logout?',
LOG_OUT_INSTRUCTION : 'Next time if you want to login you need to enter your mobile number again.',
YES : 'Yes',
NO : 'No',
RECHARGE_USING : 'Select Recharge Type', //Recharge type screen
MPESA : 'M-Pesa',
SCRATCH_CARD : 'Scratch Card',
NO_MPESA : 'No M-Pesa?',
ACTIVATE_MPESA : 'You don\'t have active M-Pesa account. Please activate M-Pesa account',
NAME : 'Name', //Profile screen
EMAIL : 'Email',
ALTERNATE_NUMBER : 'Alternative Phone Number',
REGISTRATION_STATUS : 'Registration Status',
FULL : 'Full',
TEMP : 'Temp',
CUSTOMER_CARE : 'Customer Care', //Customer care screen
CC_TEXT : 'Please write to us for any queries',
CC_EMAIL : 'Customercare@vodacom.com',
CC_CALL : 'Please call us at',
BUY_YOURSELF : 'Buy for Yourself', //M-pesa recharge screen
BUY_FOR_FRIEND : 'Buy for Friend',
RECHARGE_VALUE : 'Enter recharge value',
OR : '(or)',
RECHARGE_PRODUCT : 'Recharge Product',
MPESA_PIN : 'Enter M-Pesa PIN',
MPESA_RECHARGE_CONFIRMATION : 'Your recharge request has been accepted for processing. You will receive SMS shortly.',
MPESA_RECHARGE_TITLE : 'Recharge Using M-Pesa',
CURRENT_MPESA_BALANCE : 'My M-Pesa balance',
AS_ON : 'as on',
ENTER_YOUR_FRIEND_NUMBER : 'Enter your friend\'s number', //Scratch card recharge
ENTER_YOUR_SCRATCH_NUMBER : 'Enter your scratch card number',
SCRATCH_CARD_TITLE : 'Scratch Card Recharge',
SCRATCH_CARD_ERROR : 'Enter valid number of your voucher card',
MPESA_TOPUP : 'To top-up via M-Pesa, dial *150*00#',
CHOOSE_BUNDLE_TYPE : 'Choose Bundle Type', //Buy bundle
SELECT_BUNDLE : 'Select Bundle',
DAILY : 'Daily',
WEEKLY : 'Weekly',
MONTHLY : 'Monthly',
BUY_AIRTIME : 'Buy from Airtime',
BUY_MPESA : 'Buy from M-Pesa',
LOW_VALUE : 'Low Balance',
BUY_BUNDLE_DETAIL_TITLE : 'Ukarimu Bundle Tsh 1000 /24 hours',
AIRTIME_LOW_BALANCE_ERROR : 'You do not have enough balance to buy this bundle, Select other bundle as per your available balance.',
ON_NETWORK : 'Voda-Voda',
ALL_NETWORK : 'All Networks',
HOUR : 'Hour',
INTERNATIONAL : 'International',
MPESA_SUMMARY_TITLE : 'Summary', // mpesa summary
FRIEND_NUMBER : 'My friend\'s number',
AMOUNT : 'Amount',
ALL_NETWORK : 'All Networks',
BUNDLE_NAME : 'Bundle Name',
AIRTIME : 'Airtime',
PARTIALLY_REGISTERED_USER : 'Welcome to the Vodacom Application. For you to have the best experience with the application , kindly ensure that your SIM card is fully registered as per country regulation.To register, visit any Vodacom Shop/service desk nearest to you, with any of the following valid IDs: Passport, Driver\'s License, National ID, Voter ID or Zanzibar ID. Click on the tab below to view the list of locations.', //Store location
STORE_LIST : 'Store List',
SHOP_NAME : 'Shop Name',
LOCATION : 'Location',
CONTACT : 'Contact',
SELECT_DISTRICT : 'Select District',
SELECT_REGION : 'Select Region',
SELECT_RADIUS: 'Enter Radius',
DIFFERENT_LANGUAGE : 'Your selected language is different than your profile language, your default language will be as per profile language. You can change your language by dialing *149*01#',
SEARCH_SHOP_NAME : 'Search Shop Name',
CONNECTION_ERROR : 'Please check your internet connection', //Error messages
AUTHENTICATION_ERROR : 'You have logged in from another device or verification key (OTP) has expired.',
SERVER_CONNECTION_ERROR : 'We are not able to process your request at the moment. Please try again later.',
BONUS_BALANCE : 'Bonus Balance', //Other balances
CORPORATE_BALANCE : 'Corporate Balance',
MAIN_AIRTIME_BALANCE : 'Main Airtime balance',
PLEASE_CALL:'Please Call Me',
BALANCE_TRANSFER:'Airtime Balance Transfer',
ACTIVATE_ROAMING:'Roaming',
SPEND_LIMIT: 'Spend Limit',
DATA_BALANCE: 'Data Balance',
ACTIVATE_DEACTIVATE_SPEND_LIMIT: 'Activate/Deactivate Spend Limit',
REACH_US_THROUGH: 'Reach us through',
SET_SPEND_LIMIT: 'Set Spend Limit',
VODACOM_DEALS: 'Vodacom Deals',
ACTIVATE: 'Activate',
SERVICE_REQUEST: 'Service Request',
OPTIONS: 'Options',
CONVERT_POINTS_TITLE: 'Convert points to M-Pesa', //convert available points to mpesa
CURRENT_POINT_BALANCE: 'Current points balance(TSH)',
WRITE_TO_US: 'Write to us',
CONTACT_US_ADDRESS: 'Chief Officer Customer Services, Customer Services Department Vodacom Tanzania PLC, 7 th Floor, Vodacom Tower, Ursino Estate Plot No. 23 Bagamoyo Road, P. O. Box 2369, Dar es Salaam',
LIPA_KWA_MPESA: 'Lipa Kwa M-Pesa',
RECHARGE_OR_BUY_BUNDLES: 'Recharge or Buy Bundle',
ENTER_THE_MSISDN: 'Enter MSISDN',
NEW_SPEND_LIMIT: 'New Spend Limit',
CURRENT_SPEND_LIMIT: 'Current Spend Limit',
ENTER_SPEND_LIMIT: 'Enter Spend limit',
CHECK_SPEND_LIMIT: 'Check Spend Limit',
ACTIVATE_SPEND_LIMIT: 'Activate Spent Limit',
SPEND_LIMIT_ERROR: 'Please enter valid spend limit value',
VODACOM_POINTS: 'Vodacom Points',
CONVERT_POINTS_TO_MPESA_BALANCE: 'Convert Points to M-Pesa Balance',
PAY_BY_POINTS: 'Pay By Points',
NET_PERFORM: 'Net Perform',
FAQS: 'FAQs',
SEARCH_BY:'Search By',
REGION: 'Region',
LOCATION: 'Location',
INTERNATIONAL_ROAMING: 'Roaming Countries',
SELECT_COUNTRY: 'Select Country',
ALL: 'All',
ENTER_MSISDN_FOR_PUK: 'Enter MSISDN that needs PUK',
YOUR_PUK_NUMBER: 'The PUK for Number is',
AMOUNT_ALERT_MESSAGE: 'Amount should be less than Airtime Balance',
ENTER_AMOUNT: 'Enter Amount',
SELECT: 'Select',
ENTER_LIPA_NUMBER: 'Enter Merchant/Lipa Number',
ENTER_AMOUNT_TSH: 'Enter Amount(TSH)',
CONFIRM: 'Confirm',
LIPA_KWA_MSG: 'Pay to any merchant in Tanzania with LIPA KWA M-PESA',
CURRENT_BALANCE_TSH: 'Current Balance',
SELECT_BUNDLE_TYPE: 'Select Bundle Type',
POINT_CONVERT_TO_MPESA: 'Enter Points to convert to M-Pesa',
CONFIRM_TO_CONVERT: 'Confirm to convert Points to M-Pesa',
EDIT: 'Edit',
RED_DEALS: 'RED Deals',
PINDUA_DEALS: 'Pinduapindua Deals',
SERVICE_DOWN: 'The application is currently unavailable. Please try again later.',
NETWORK_COVERAGE: 'My Network Coverage',
GOOD_MORNING : 'Good Morning',
GOOD_AFTERNOON : 'Good Afternoon',
GOOD_EVENING : 'Good Evening',
DEALS_INTRO : 'At Vodacom, we value you our loyal customer, by giving you an opportunity to enjoy massive discounts from a network of merchants around major cities in Tanzania. With Vodacom Deals, customers can select any listed merchant and receive available discount as a coupon code via SMS. Customer will then show this coupon code to the respective merchant when requesting bill or invoice and receive a discount.',
UPGRADE_MSG : 'A newer version of the app is available in the store, upgrade now.',
OTHER_SERVICES : 'Other Services',

}).translations('SW', {
WELCOME_VODACOM : 'Karibu Vodacom',
LOGIN_ERROR : 'Nambari ya simu uliyoweka si sahihi. Tafadhali ingiza namba sahihi',
CONTACT_TITLE : 'Ingiza namba yako ya simu', //login screen string
SUBMIT : 'Tuma',
TERMS_AND_CONDITION : 'Vigezo na Masharti',
TERMS_AND_CONDITION_ERROR : 'Tafadhali kubali Vigezo na Masharti uweze kuingia',
OTP_TITLE : 'Tafadhali subiri! Utapokea ujumbe wenye namba za siri hivi punde', //OTP verification screen
OTP_VERIFICATION : 'Tafadhali ingiza namba ya siri',
CANCEL : 'Batilisha', //
RESEND : 'Tuma tena',
OTP_VALIDATION : 'Namba ya siri inahitajika',
RESEND_OTP_CONFIRMATION : 'Uthibitisho wa neno la siri umeshatumwa',
HOME : 'Mwanzo', //Menu bar
MY_PROFILE : 'Maelezo yangu',
MY_BUNDLE_BALANCE : 'Salio la kifurushi',
MY_AIRTIME_BALANCE : 'Salio la muda wa maongezi',
BUY_BUNDLE : 'Nunua kifurushi',
BUNDLE : 'Vifurushi', //side menu
RED : 'RED',
ROAMING : 'Kuzuru',
ROAMING_BUNDLES : 'Vifurushi vya kuzuru',
ACTVDACTV_ROAMING : 'Washa/Zima Kuzuru',
PINDUAPINDUA : 'Pinduapindua',
ROAMING_COUNTRIES : 'Nchi za kuzuru',
SELF_HELP : 'Msaada binafsi',
PLEASE_CALL_ME : 'Tafadhali Nipigie',
AIRTIME_BAL_TRANSFER : 'Kuhamisha Salio',
ADVANCE_CREDIT : 'Nipige Tafu',
CONTACT_US : 'Wasiliana nasi',
FIND_VODA_SHOP : 'Tafuta Vodacom Shop',
VODA_POINTS : 'Vodacom pointi',
DEALS : 'Dili',
LOG_OUT : 'Kutoka',
SETTINGS : 'Mpangilio',
PRIVACY_POLICY : 'Sera binafsi',
RELEASE : 'Kutolewa',
VERSION : 'Toleo',
MY_NUMBER : 'Namba yangu', //Dashboard screen
MOBILE_NUMBER : 'Namba ya simu',
ACCOUNT_NAME : 'Jina la akaunti',
CREDIT_LIMIT : 'Kikomo cha matumizi ya data',
USAGE : 'Matumizi',
CALL_CENTER : 'Huduma kwa wateja',
WELCOME : 'Karibu',
MINUTES : 'Dakika',
RECHARGE : 'Ongeza Salio',
MY_MPESA_BALANCE : 'Salio la M-Pesa',
MAIN_ACCNT : 'Akaunti Kuu',
CHECK : 'Angalia',
VOICE : 'Kupiga',
INTERNET : 'Intaneti',
UPDATED_AT : 'Imefanywa upya ',
SMS : 'SMS',
UNIT : 'Uniti',
MORE : 'Zaidi',
NEED_HELP : 'Kwa msaada',
NEED_HELP_HEADER : 'Unahitaji Msaada',
NEED_HELP_CONTACT : 'Msaada zaidi',
NEED_HELP_TEXT : 'Jukumu la Vodacom kwa wateja wake ni kutoa huduma zenye ubora wa hali ya juu!Kama haujarika na huduma za Vodacom kwa sababu yoyote unayo haki ya kuripoti lalamiko lako kupitia njia zifuatazo.Vodacom itachukua hatua stahiki kutatua tatizo lako ndani ya muda uliowekwa.',
NEED_HELP_LINK : 'Bonyeza kwa maelezo zaidi kuhusu huduma zetu',
NEED_HELP_INFORMATION : 'Hakikisha una taarifa muhimu kulingana na tatizo lako(mfano tarehe, muda wa tatizo, huduma, taarifa za mhudumu ulioongea nae juu ya tatizo lako kabla n.k). Hii itatusaidia kukuhudumia kwa haraka zaidi. Utatuzi yote ni bure.',
NEED_HELP_INFORMATION_LINK : 'Mchakato wa malalamiko ya mteja',
IMPORTANT_INFORMATION : 'TAARIFA MUHIMU',
VALID_TILL : 'Tumia hadi',
MPESA_TITLE : 'Gharama itatozwa kuangalia salio la M-Pesa', //Check M-Pesa balance screen
ENTER_PIN : 'Weka namba y siri',
GO : 'Endelea',
APP_EXIT : 'Je una hakika unataka kufunga App?', //logout popup
LOG_OUT_TITLE : 'Je una hakika unataka kutoka kwenye App?',
LOG_OUT_INSTRUCTION : 'Utahitajika kuweka namba ya simu utakapotaka kuingia tena',
YES : 'Ndio',
NO : 'Hapana',
RECHARGE_USING : 'Chagua njia kuongeza salio', //Recharge type screen
MPESA : 'M-Pesa',
SCRATCH_CARD : 'Kadi ya vocha',
NO_MPESA : 'Huna akaunti ya M-Pesa',
ACTIVATE_MPESA : 'Huna akaunti ya M-Pesa. Tafadhali wezesha akaunti yako ya M-Pesa',
NAME : 'Jina', //Profile screen
EMAIL : 'Email',
ALTERNATE_NUMBER : 'Namba Nyingine',
REGISTRATION_STATUS : 'Usajili wangu',
FULL : 'Full',
TEMP : 'Haujakamilika',
CUSTOMER_CARE : 'Huduma kwa wateja', //Customer care screen
CC_TEXT : 'Tafadhali tuandikie maoni yako hapa',
CC_EMAIL : 'Customercare@vodacom.com',
CC_CALL : 'Tafadhali tupigie',
BUY_YOURSELF : 'Jinunulie', //M-pesa recharge screen
BUY_FOR_FRIEND : 'Mnunulie mwingine',
RECHARGE_VALUE : 'Weka Kiasi',
OR : '(au)',
RECHARGE_PRODUCT : 'Viwango vya kuongeza salio',
MPESA_PIN : 'Weka namba ya siri ya M-Pesa',
MPESA_RECHARGE_CONFIRMATION : 'Ombi lako la kuongeza salio linashughulikiwa. Muda si mrefu utapokea SMS',
MPESA_RECHARGE_TITLE : 'Ongeza salio kwa M-Pesa',
CURRENT_MPESA_BALANCE : 'Salio la M-Pesa ',
AS_ON : 'la',
ENTER_YOUR_FRIEND_NUMBER : 'Ingiza namba ya unayemnunulia', //Scratch card recharge
ENTER_YOUR_SCRATCH_NUMBER : 'Ingiza namba za siri za kadi ya vocha',
SCRATCH_CARD_TITLE : 'Ongeza salio kutumia Kadi ya Vocha',
SCRATCH_CARD_ERROR : 'Ingiza nambari sahihi ya kadi yako ya vocha',
MPESA_TOPUP : 'Kuongeza salio kwa M-Pesa, Piga *150*00#',
CHOOSE_BUNDLE_TYPE : 'Chagua aina ya kifurushi', //Buy bundle
SELECT_BUNDLE : 'Chagua Kifurushi',
DAILY : 'Siku',
WEEKLY : 'Wiki',
MONTHLY : 'Mwezi',
BUY_AIRTIME : 'Nunua kwa muda wa maongezi',
BUY_MPESA : 'Nunua kwa M-Pesa',
LOW_VALUE : 'Salio halitoshi',
BUY_BUNDLE_DETAIL_TITLE : 'Ukarimu Bundle Tsh 1000 /24 hours',
AIRTIME_LOW_BALANCE_ERROR : 'Hauna salio la kutosha kununua kifurushi hiki. Chagua kifurushi kingine kulingana na salio lilipo.',
ON_NETWORK : 'Voda-Voda',
ALL_NETWORK : 'Mitandao yote',
HOUR : 'saa',
INTERNATIONAL : 'Kimataifa',
MPESA_SUMMARY_TITLE : 'Muhutasari', // mpesa summary
FRIEND_NUMBER : 'Namba ya rafiki',
AMOUNT : 'Kiasi',
ALL_NETWORK : 'Mitandao yote',
BUNDLE_NAME : 'Jina la kifurushi',
AIRTIME : 'Muda wa maongezi',
PARTIALLY_REGISTERED_USER : 'Karibu kwenya aplikesheni ya Vodacom. Ili kupata huduma za uhakika kupitia aplikesheni hii, hakikisha namba yako ya simu imepata usajili wa kudumu kwa mujibu wa sheria za nchi.Kujisajili, tafadhali tembelea Vodacom Shop/Service Desk ilio karibu nawe ukiwa na vitambulisho halali kati ya vifutavyo: Pasi ya kusafiria, leseni ya udereva, kitambulisho cha taifa, kitambulisho cha kupiga kura au kitambulisho cha Zanzibar Bofya kitufe hapo chini kutazama orodha ya mahali.', //Store location
STORE_LIST : 'Orodha ya Maduka',
SHOP_NAME : 'Jina la Duka',
LOCATION : 'Mahali',
CONTACT : 'Mawasiliano',
SELECT_DISTRICT : 'Chagua wilaya',
SELECT_REGION : 'Chagua Mkoa',
SELECT_RADIUS: 'Ingiza mzunguko',
DIFFERENT_LANGUAGE : 'Lugha uliochagua ni tofauti na lugha ya namba yako. Lugha ya namba yako ndio itakayokuwa lugha ya matumizi. Kubadili lugha, piga *149*01#',
SEARCH_SHOP_NAME : 'Tafuta jina la duka',
CONNECTION_ERROR : 'Tafadhali angalia mawasiliano ya intaneti yako', //Error messages
AUTHENTICATION_ERROR : 'Umeingia kwenye kifaa kingine cha simu au namba za siri za uthibitisho (OTP) zimekwisha muda wake.',
SERVER_CONNECTION_ERROR : 'Hatuwezi kutatua ombi lako kwa sasa. Tafadhali jaribu tena baadae.',
BONUS_BALANCE : 'Salio la Nyongeza', //Other balances
CORPORATE_BALANCE : 'Salio la Akaunti ya biashara',
MAIN_AIRTIME_BALANCE : 'Salio la muda wa maongezi',
PLEASE_CALL:'Please Call Me',
BALANCE_TRANSFER:'Kuhamisha salio la maongezi',
ACTIVATE_ROAMING:'Roaming',
SPEND_LIMIT: 'Ingiza kikomo',
DATA_BALANCE: 'Salio la data',
ACTIVATE_DEACTIVATE_SPEND_LIMIT: 'Washa/Zima kikomo cha matumizi',
REACH_US_THROUGH: 'Reach us through',
SET_SPEND_LIMIT: 'Ingiza kikomo cha matumizi',
VODACOM_DEALS: 'Dili za Vodacom',
ACTIVATE: 'Activate',
SERVICE_REQUEST: 'Maombi ya mkopo',
OPTIONS: 'Chaguzi',
CONVERT_POINTS_TITLE: 'Badili Pointi kuwa M-Pesa', //convert available points to mpesa
CURRENT_POINT_BALANCE: 'Salio la Pointi',
WRITE_TO_US: 'Tuandikie',
CONTACT_US_ADDRESS: 'Chief Officer Customer Services, Kitengo cha Huduma kwa Wateja Vodacom Tanzania PLC, Ghorofa ya 7, Jengo la Vodacom , Ursino Estate Ploti No. 23 ,Barabara ya Bagamoyo , P. O. Box 2369, Dar es Salaam',
LIPA_KWA_MPESA: 'Lipa Kwa M-Pesa',
RECHARGE_OR_BUY_BUNDLES: 'Ongeza salio au Nunua Kifurushi',
ENTER_THE_MSISDN: 'Ingiza namba ya simu',
NEW_SPEND_LIMIT: 'Kikomo kipya cha matumizi',
CURRENT_SPEND_LIMIT: 'Kikomo cha matumizi kwa sasa',
ENTER_SPEND_LIMIT: 'Kuweka Kiwango kipya',
CHECK_SPEND_LIMIT: 'Angalia kiwango kilichopo',
ACTIVATE_SPEND_LIMIT: 'Wezesha Kudhibiti Data',
SPEND_LIMIT_ERROR: 'Tafadhari weka kiwango sahihi',
VODACOM_POINTS: 'Vodacom Points',
CONVERT_POINTS_TO_MPESA_BALANCE: 'Convert Points to M-Pesa Balance',
PAY_BY_POINTS: 'Lipa kutumia Pointi',
NET_PERFORM: 'Net Perform',
FAQS: 'Maswali yanayoulizwa kila mara',
SEARCH_BY:'Tafuta kwa',
REGION:'Mkoa',
INTERNATIONAL_ROAMING: 'Zuru kimataifa', //international roaming
SELECT_COUNTRY: 'Chagua nchi',
ALL: 'Zote',
ENTER_MSISDN_FOR_PUK: 'Ingiza namba ya simu Inayohitaji PUK',
YOUR_PUK_NUMBER: 'PUK ya Namba ya ni ',
AMOUNT_ALERT_MESSAGE: 'Kiasi kisizidi salio la muda wa maongezi',
ENTER_AMOUNT: 'Ingiza kiasi',
SELECT: 'Chagua',
ENTER_LIPA_NUMBER: 'Ingiza Lipa namba/Wakala',
ENTER_AMOUNT_TSH: 'Ingiza kiasi(Tsh)',
CONFIRM: 'Thibitisha',
LIPA_KWA_MSG: 'Lipa kwa Manyabiashara yeyote wa Lipa Tanzania kwa LIPA KWA M-PESA',
CURRENT_BALANCE_TSH: 'Kifurushi kilichopo',
SELECT_BUNDLE_TYPE: 'Chagua aina ya kifurushi',
POINT_CONVERT_TO_MPESA: 'Ingiza Pointi za kubadili kuwa M-Pesa',
CONFIRM_TO_CONVERT: 'Hakikisha kubadili Pointi kuwa M-Pesa',
EDIT: 'Rekebisha',
RED_DEALS: 'Dili za RED',
PINDUA_DEALS: 'Dili za Pinduapindua',
SERVICE_DOWN: 'Programu ya mtandao haipatikani kwa sasa. Tafadhali jaribu tena baadae.',
NETWORK_COVERAGE: 'Mtandao Karibu yangu',
GOOD_MORNING : 'Habari ya Asubuhi',
GOOD_AFTERNOON : 'Habari ya Mchana',
GOOD_EVENING : 'Habari ya Jioni',
DEALS_INTRO : 'Vodacom tunakujali wewe mteja wetu wa thamani kwa kukupatia fursa ya kufurahia punguzo kubwa la bei kutoka kwenye mtandao wa wafanyabiashara katika miji mikubwa hapa Tanzania. Kwa kutumia Dili za Vodacom, wateja wanaweza kuchagua mfanyabiashara yoyote alieorodheshwa na kupata SMS yenye kuponi ilio na punguzo. Ili kupata punguzo, mteja ataonyesha kuponi kwa muuzaji wakati wa kulipa bili au ankara.',
UPGRADE_MSG : 'Tolea jipya la aplikesheni linapatikana kwenye stoo, weka sasa.',
OTHER_SERVICES:'Huduma Nyingine',


});
$translateProvider.preferredLanguage('SW');
}).run(function($ionicPlatform, $state, $ionicHistory, GlobalService, $rootScope, AuthService, $filter ,dataStorageService) {
$ionicPlatform.ready(function() {
localStorage.setItem('sslSecure', '');
$rootScope.checkSSLCertificate();
if (device.platform == 'Android' || device.platform == 'android') {
$rootScope.checkDeviceRooted();
}
localStorage.setItem('otpmessage', '');
localStorage.setItem('tc', "");
localStorage.setItem('serviceIntegrate', 'false');
var devicePlatform = device.platform;
// set device orientation to portrait.
$rootScope.setDeviceOrientation();
// Take explicit permission from user to access device assets.
$rootScope.checkPermission();
/*Handle Hardware back button*/
$rootScope.logout();
$rootScope.previousState;
$rootScope.currentState;
$rootScope.$on('$stateChangeSuccess', function(ev, to, toParams, from, fromParams) {
$rootScope.previousState = from.name;
$rootScope.currentState = to.name;
// alert('Previous state:'+$rootScope.previousState);
// alert('Current state:'+$rootScope.currentState);
if($rootScope.previousState == 'home.mpesasummary' && $rootScope.currentState == 'home.mpesarecharge'){
localStorage.setItem('mpesaRechargeNav', 'true');
GlobalService.checkStateChange();
}else
localStorage.setItem('mpesaRechargeNav', 'false');
GlobalService.checkStateChange();
});

if (device.platform == 'iOS') {
document.addEventListener("resume", function() {
cordova.exec( function(otp){
localStorage.setItem('otpmessage', otp);
}, function() {
}, 'Otp', 'otp', [''] );
}, false);

}
});

$rootScope.checkSSLCertificate = function() {
var server = "https://olsuat.vodacom.co.tz";
// var server = "https://vodacom.co.tz";
var fingerprint = "E0 F8 A7 0F 4D D9 DF 20 B2 12 D0 DB 27 2C 16 68 45 8E 51 90";
//prod
// var fingerprint = "89 00 2B 17 A5 2B B7 0A BA 09 C6 Af 44 46 0A 06 EA AD 2D 65";
window.plugins.sslCertificateChecker.check(function(message) {
localStorage.setItem('sslSecure', 'true');
// Message is always: CONNECTION_SECURE.
// Now do something with the trusted server.
},function errorCallback(message) {
// alert(message);
if (message == "CONNECTION_NOT_SECURE") {
localStorage.setItem('sslSecure', 'false');
// There is likely a man in the middle attack going on, be careful!
} else if (message.indexOf("CONNECTION_FAILED") >- 1) {
localStorage.setItem('sslSecure', 'true');
// There was no connection (yet). Internet may be down. Try again (a few times) after a little timeout.
}
},server,fingerprint);
};

$rootScope.checkDeviceRooted = function() {
cordova.plugins.diagnostic.isDeviceRooted(function(rooted){
if(rooted) {
GlobalService.NetworkErrorMessage("This device seems to be rooted and thus it is unsafe to run My Vodacom App. Please unroot your device and try again.", 'information', 'rooted');
}
}, function(error){
// alert("The following error occurred: " + error);
});
};

$rootScope.setDeviceOrientation = function() {
if (navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)) {
if (window.isTablet) {
screen.orientation.lock('landscape');
} else {
screen.orientation.lock('portrait');
}
}
};

$rootScope.logout = function() {
$ionicPlatform.registerBackButtonAction(function(event) {
if ($state.current.name === 'home.dashboard') {
GlobalService.confirmMessage('Exit');
} else if ($state.current.name === 'login') {
navigator.app.exitApp();
//window.close();
} else {
$ionicHistory.goBack();
}
}, 100);
};

$rootScope.goToPage = function(state) {
var $state = $injector.get('$state');
$state.go(state);
};
$rootScope.goBackHandler = function(){
/*$rootScope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams){
console.log(toState)
});*/
$ionicHistory.goBack();
};

$rootScope.checkPermission = function() {
var permissions = cordova.plugins.permissions;
permissions.hasPermission(permissions.READ_SMS, function(status) {
if (status.hasPermission) {
if (SMS)
SMS.startWatch(function() {
if (!SMS) {
return;
}
document.addEventListener('onSMSArrive', function(e) {
var data = e.data;
localStorage.setItem('otpmessage', data.body);
});
}, function() {
});
} else {
permissions.requestPermission(permissions.READ_SMS, function() {
if (SMS)
SMS.startWatch(function() {
if (!SMS) {
return;
}
document.addEventListener('onSMSArrive', function(e) {
var data = e.data;
localStorage.setItem('otpmessage', data.body);
});
}, function() {
});
}, function(error) {
//alert(JSON.stringify(error));
//alert("Permission denied by user. Now Application will not be able to read any SMS from user device.");
});
};
});
};

/*Log out from application*/
$rootScope.logOutApp = function() {
var networkType = GlobalService.checkNetworkConnection();
var serviceIntegrate = localStorage.getItem('serviceIntegrate');
if (serviceIntegrate == "false") {
if (networkType != 'No network connection') {
GlobalService.showLoading();
AuthService.logOut('logout').success(function(data) {
//GlobalService.NetworkErrorMessage(JSON.stringify(data), 'information');
if (data.isSuccessfull == '1') {
GlobalService.hideLoading();
var profileImage = localStorage.getItem('pic');
var state = 0;
if (profileImage) {
state = 1;
}
localStorage.removeItem("pic");
localStorage.clear();
window.CacheClear(function(){}, function() {});
dataStorageService.saveUserBalance('');
dataStorageService.saveUserProfile('');
dataStorageService.saveViewBundle('');
dataStorageService.saveCustomerCareData('');
dataStorageService.saveSubBundleData('');
localStorage.setItem('serviceIntegrate', 'false');
$ionicHistory.clearCache();
$ionicHistory.clearHistory();
// if(state == 1) {
// localStorage.setItem('pic', profileImage);
// }
$rootScope.checkSSLCertificate();
$state.go('login', {}, {
reload : true
});
// navigator.app.exitApp();
} else {
GlobalService.hideLoading();
GlobalService.NetworkErrorMessage(data.message, 'error', "service");
}
}).error(function(data, status, headers) {
GlobalService.hideLoading();
if (status == '810') {
var tn_authentication_error = $filter('translate')('AUTHENTICATION_ERROR');
GlobalService.NetworkErrorMessage(tn_authentication_error, 'error', "authentication");
} else {
if (headers('Message')) {
GlobalService.NetworkErrorMessage(headers('Message'), 'error', "service");
} else if (status == '827') {
var tn_middleware_down_error = $filter('translate')('SERVICE_DOWN');
GlobalService.NetworkErrorMessage(tn_middleware_down_error, 'error', "service");
} else {
var tn_server_connection_error = $filter('translate')('SERVER_CONNECTION_ERROR');
GlobalService.NetworkErrorMessage(tn_server_connection_error, 'error', "service");
}
}
});
} else {
var tn_connection_error = $filter('translate')('CONNECTION_ERROR');
GlobalService.showLoadingMessage(tn_connection_error, 3000, true);
}
}
};
});
0 x

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest